Re: how to check if its system bootup

2005-08-06 Thread Joe Smith
"LeVA" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Hi! I wonder if there is a way to check at an init.d script, if it is system bootup, or the user just executing the the script from a console, while the system is already up. Any way to do this? Thanks! Why would you want to

Re: how to check if its system bootup

2005-08-06 Thread Robert Brockway
On Sat, 6 Aug 2005, Bill Marcum wrote: > On Sat, Aug 06, 2005 at 01:44:45PM +0200, LeVA wrote: > > Hi! > > > > I wonder if there is a way to check at an init.d script, if it is system > > bootup, or the user just executing the the script from a console, while the > > system is already up. Any w

Re: how to check if its system bootup

2005-08-06 Thread Bill Marcum
On Sat, Aug 06, 2005 at 01:44:45PM +0200, LeVA wrote: > Hi! > > I wonder if there is a way to check at an init.d script, if it is system > bootup, or the user just executing the the script from a console, while the > system is already up. Any way to do this? > Use the "runlevel" command. --

how to check if its system bootup

2005-08-06 Thread LeVA
Hi! I wonder if there is a way to check at an init.d script, if it is system bootup, or the user just executing the the script from a console, while the system is already up. Any way to do this? Thanks! Daniel -- LeVA -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsub