[Buildroot] [PATCH] sysvinit/inittab: adjust shutdown
Peter Korsgaard
peter at korsgaard.com
Thu Nov 20 22:10:51 UTC 2014
>>>>> "Gustavo" == Gustavo Zacarias <gustavo at zacarias.com.ar> writes:
> The previous shutdown sequence was basically a no-op, it did't call rcK
> to stop anything and dumped users back into shell.
> So do the proper thing by calling rcK for levels 0 (halt) and 6
> (reboot), then swapoff, then remount ro.
> After that call halt for 0 and reboot for 6.
> Also make 3 the default runlevel as in normal distributions, for all
> intents and purposes it changes nothing except aesthetics/convention.
> And make the labels a context sequence rather than just a short form
> of the actions which IMHO looks horrible.
> Signed-off-by: Gustavo Zacarias <gustavo at zacarias.com.ar>
Committed, thanks.
--
Bye, Peter Korsgaard
More information about the buildroot
mailing list