do stuff after shutdown

ralda at gmx.de ralda at gmx.de
Tue Feb 28 07:32:53 UTC 2012


Hallo Laurent!

>  I am *only* suggesting that process 1 exiting should be taken as a
> hard reboot or poweroff instruction, instead of a panic instruction.

There is a special kernel feature that allows automatic reboot on
kernel panic. Activating this the current what you are suggesting, it
reboots the system when process 1 exits ... that's what I do on
server boxes :-)

See (e.g.):
http://unixfoo.blogspot.com/2009/01/linux-kernel-panic-reboot.html

--
Harald


More information about the busybox mailing list