[BusyBox] reboot not working?
omr
omr at china.com
Fri Sep 29 10:16:23 UTC 2000
Erik Andersen
I changed the init.c
now init can use -q option.
the patch file is attached.
now you can use busybox's init -q ,or SysV 's telinit X X = any runlevel
to make init process to reread the /etc/inittab file.
00-9-26 9:09:00
>On Tue Sep 26, 2000 at 03:38:19PM +0800, omr wrote:
>> >
>> >as pointed out, reboot and poweroff only works if you're using BB's init
>> >and not SysV init (as I was). I modified my system to BB's init and
>> >everything is working as expected, now.
>> >
>> >perhaps when BB_INIT isn't defined reboot/poweroff could act
>> >accordling to SysV INIT, if possible ...
>>
>> BB's init can't reread the /etc/inittab file, so when I add lines
>> to inittab to add a ppp serial line. I must reboot all the system.
>> But sysV's init can use "init q" to do this.
>> I want to know , if I can make BB's init to reread and runing the
>> inittab file.
>
>These are both features that should be added. Could you
>file two bugs? One for "Make reboot/poweroff SysV compatible"
>and a second bug "bb 'init q' should reread /etc/inittab".
>
>Thanks,
>
> -Erik
>
>--
>Erik B. Andersen email: andersen at lineo.com
>--This message was written using 73% post-consumer electrons--
>
>
>_______________________________________________
>busybox mailing list
>busybox at busybox.net
>http://busybox.net/mailman/listinfo/busybox
Su Jingmeng (ËÕ¾©ÃÈ) Beijing RouterD Ltd. china
omr
omr at china.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: init.c.patch
Type: application/octet-stream
Size: 6337 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/busybox/attachments/20000929/b38df2e2/attachment.obj
More information about the busybox
mailing list