Re: Shutdown problem with 2.4.22-1.2140

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Lee-Win Tai wrote:

On Wed, Jan 07, 2004 at 11:38:30PM -0500, Jed wrote:


I just installed the 2.4.22-1.2140 kernel update. Now when I issue '/sbin/shutdown now' the system goes into single user mode and I get a sh prompt instead of the system shutting down. On the other hand just typing 'reboot' works fine.



If I'm not mistaken, this is working as designed.

From 'man shutdown':

...runlevel 1 is used to put to system into a state where administrative tasks can be performed; this is the default if neither the -h or -r flag is given to shutdown.


In other words, if you want to reboot the machine, you need to run '/sbin/shutdown -r now' instead of '/sbin/shutdown now' which just goes to runlevel 1 (as you've noticed).





Right you are. That must have been why the command looked funny.

Thanks.




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux