From: Roland P. <pa...@ta...> - 2004-03-04 21:03:17
|
On Thursday 04 March 2004 20:09, Heiko Zuerker wrote: > > Hi, [...] > > - 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. well, insserv works, it knows about boot.d. It's the legacy /etc/init.d/rc file that doesn't know about it. But that shouldn't be a problem, because 'rc' is used to switch betweeen runlevels, but the boot.d/ scripts are not part of any specific runlevel (and you shouldn't be able to switch to a runlevel B). What is that functionality you need there? > > 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. I thought about this at the gym, I think I can easily code that in /sbin/pre_init, when I can manually change inittab (replacing the default runlevel with sed and grep) before starting init. That's under the assumption, that once init runs, there is no point to doing that (otherwise, that could be done in a boot.d/ script before entering the runlevel) Roland -- ICQ UIN 49339118 Linux Counter #88774 GPG-Key 1024D/59C6AFA6 2003-02-07 Roland Pabel <ro...@pa...> |