[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: System is halted



 
> System is halted  - comes from /etc/rc.d/init.d/halt
> 
> It makes a reboot system call, which makes the kernel print "System
> halted" to the console. See /usr/src/linux/kernel/sys.c.

Yep, this is how it is. Minor mod - /etc/rc.d/init.d/halt 
is printing "System is halted" and then calls /sbin/halt,
which makes the reboot call (with a certain flag), which prints
the second mesg. More info - man 2 reboot.

Tks!
- - Prasad

- --------------------------------------------------------------------
For more information on Linux in India visit http://www.linux-india.org/
Linux India is NOT a forum for Microsoft/India/Pakistan/US/UK bashing.
Flame baits will not be tolerated.  If you can appreciate satire read
http://www.templetons.com/brad/emily.html

------------------------------