It is a moot point, the busybox halt and reboot only support the busybox init, since I'm using the sysvinit, I have put back the normal halt and reboot that come with the sysvinit. -Tom On Fri, 4 May 2001, Gernot.Fink wrote: > Date: Fri, 4 May 2001 12:36:03 +0200 > From: Gernot.Fink <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: [tomsrtbt] halt problem > > Strace says that busybox-halt calls > > sigprocmask(SIG_SETMASK, [], NULL) = 0 > reboot(0xfee1dead, 0x28121969, 0x89abcdef) = 0 > kill(1, SIGTSTP) = 0 > reboot(0xfee1dead, 0x28121969, 0xcdef0123) > > The 2 magic words ar correct but the flag is wrong: > > Manpage: > > int reboot (int magic, int magic_too, int flag); > > DESCRIPTION > reboot reboots the system, or enables/disables the Ctrl- > Alt-Delete (CAD) reboot keystroke. > > If magic == 0xfee1dead && magictoo == 672274793, then the > action performed will be based on flag. > > If flag = 0x1234567, then a hard reset is performed. > If flag = 0x89abcdef, then CAD is enabled. > If flag = 0, then CAD is disabled and a signal is sent to > process ID 1. > > -- > MFG Gernot >
