[PATCH] Add wtmp and -w option to halt

Denis Vlasenko vda.linux at googlemail.com
Wed Jan 23 18:27:07 PST 2008


On Wednesday 23 January 2008 16:00, Roy Marples wrote:
> Hi List
> 
> Gentoo currently uses halt -w to record a system shutdown action in wtmp
> but not actually shut the system down at this point. Attached is a patch
> that enables this for busybox halt. If this patch is not accepted, then
> please consider silently accepting the -w option so a Gentoo shutdown is
> a bit cleaner using busybox.
> 
> sysvinit halt also has the -d option, which means "Don't write a wtmp
> record", however this conflicts with busybox where -d means delay. This
> patch does not address this. Maybe there should be a shutdown applet
> with the delay option to mirror sysvinit and BSD instead.

Applied, thanks.
--
vda


More information about the busybox mailing list