Yes, ... and written a lot of these things on many flavours of UNIX. No one using simpleinit.
Having a look at some init script from gentoo I see in the first line #!/sbin/runscript I'd like to have these scripts beginning #!/bin/sh and I'd like to have runlevels 0123456sS They (coming from sysvinit) are too (and maybe better) capable of working environment variables from the kernel command line. BTW: solving the problem to start NO_NET, ETH0_NET, WLAN0_NET and GPRS_NET in the way gentoo is working is simple, but what to do if eth0 or wlan0 will have different addresses, default routers, routing tables and even /etc/host-files for different boot profiles (or SOFTLEVELS / BOOTLEVELS - like gentoo calls this)? Which commands can I use in a /sbin/runscript script. I still havent found any documentation regarding this. I'd really like to change as less as possible to save work, so any hint will be very welcome. Regards Frank -----Original Message----- From: Nick Rout [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 12, 2005 9:53 PM To: [EMAIL PROTECTED] Subject: RE: [gentoo-user] WiFi success story :| On Wed, 2005-01-12 at 08:13 +0100, Schafer Frank wrote: > Zes, it is > > the Gentoo initscripts are #!/sbin/runscript. There is no ``man > runscript'', no ``info runscript'' not much available on google. ... > But sh is well documented. > > Hmmm. have you read this? http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2&chap=4 > -- Nick Rout <[EMAIL PROTECTED]> -- [email protected] mailing list -- [email protected] mailing list
