|
From: Heiko Z. <he...@zu...> - 2004-03-04 19:36:39
|
> Hi,
> this patch sets the new boot flow:
>
> /sbin/pre_init -> exec init
> /etc/init.d/boot
> /etc/init.d/boot.d/S*
> /etc/init.d/boot.local
> init goes into runlevel 3
>
> which is the way most other distros do it (apart from changes in names)
> Notes:
> - /etc/init.d/boot doesn't need to be called manually with the link in
> cfg_runlevel any longer (and doesn't need "start" - it should always run),
> because it's done by inittab
great!
> - boot.* can't be handled by insserv, because the author of insserv
> prohibits
> that (probably to enforce to run boot.local as the last script before
> going
> into the runlevel)
> - insserv adds links in boot.d when you specify "B" as runlevel
> (but /etc/init.d/rc doesn't understand that specifier)
But you could add the functionality, or ? ;-)
Unfortunately we need to use our system in a way, that insserv will work
with it.
> I'll try to make some more changes, i.e. choosing runlevel on startup (for
> maintenance, unless someone adds XFree ;-)...
That's good!
I don't know how often I already needed a boot into runlevel 1. But I
always forgett to add it to the boot menu.
> Roland
> PS: build-20040301.tar.bz2 contains empty config/etc/rc{1,3,S}.d
> (not /etc/init.d/) directories, some script gone wild?
Hmmm.....
No idea.
--
Regards
Heiko Zuerker
http://www.devil-linux.org
|