Re: [Cooker] Power off @ shutdown enabled

2000-03-16 Thread root

"Guy T. Rice" wrote:

 On Wed, 15 Mar 2000, CPT KIDD wrote:
  don't know if this is normal, but the halt -p and kde  shutdown does
  work properly.
 
  but when i do a "shutdown now" at the command prompt, it starts the
  shutdown sequence but turns into "single user mode".

 You need to use the "-h" flag to halt.  From the man pages:

 shutdown does
its job by signalling  the  init  process,  asking  it  to
change  the runlevel.  Runlevel 0 is used to halt the sys­
tem, runlevel 6 is used to reboot the system, and runlevel
1  is used to put to system into a state where administra­
tive tasks can be performed; this is the default  if  nei­
ther the -h or -r flag is given to shutdown.

 Type "man shutdown" to get useful info like this about "shutdown";
 it also works for most other commands.  Cool, eh?

just didn't seem right, thought i had it working before with "shutdown
now".  no biggy. i got it working :)



[Cooker] Power off @ shutdown enabled

2000-03-15 Thread CPT KIDD

don't know if this is normal, but the halt -p and kde  shutdown does
work properly.

but when i do a "shutdown now" at the command prompt, it starts the
shutdown sequence but turns into "single user mode".



Re: [Cooker] Power off @ shutdown enabled

2000-03-15 Thread Guy T. Rice

On Wed, 15 Mar 2000, CPT KIDD wrote:
 don't know if this is normal, but the halt -p and kde  shutdown does
 work properly.
 
 but when i do a "shutdown now" at the command prompt, it starts the
 shutdown sequence but turns into "single user mode".

You need to use the "-h" flag to halt.  From the man pages:

shutdown does
   its job by signalling  the  init  process,  asking  it  to
   change  the runlevel.  Runlevel 0 is used to halt the sys­
   tem, runlevel 6 is used to reboot the system, and runlevel
   1  is used to put to system into a state where administra­
   tive tasks can be performed; this is the default  if  nei­
   ther the -h or -r flag is given to shutdown.

Type "man shutdown" to get useful info like this about "shutdown";
it also works for most other commands.  Cool, eh?