Re: Anyone working on the rc.d installer problem?
> In short: I agree with you, we should standardize, but I think we
> *also* should be able to specify additional constraints.
>
> I suggest we write up a standard, and then let the LSB people "bless"
> it.
>
> -hpa
>
http://www.debian.org/doc/debian-policy/ch3.html#s-sysvinit
geves debians scoop on how a installer should add install files,
and what the mechanism is on their sysV.
Slackware uses the following type of config:
lrwxrwxrwx 1 rahul rahul 4 Sep 25 00:43 rc.0 -> rc.6*
-rwxr-xr-x 1 rahul rahul 396 Oct 2 1995 rc.4*
-rwxr-xr-x 1 rahul rahul 2257 Aug 13 1996 rc.6*
-rwxr-xr-x 1 rahul rahul 1235 May 27 1997 rc.K*
-rwxr-xr-x 1 rahul rahul 2886 Aug 15 1995 rc.M*
-rwxr-xr-x 1 rahul rahul 3897 Jun 22 1996 rc.S*
-rwxr-xr-x 1 rahul rahul 1115 Oct 2 1995 rc.cdrom*
-rwxr-xr-x 1 rahul rahul 113 Oct 2 1995 rc.local.new*
-rwxr-xr-x 1 rahul rahul 8121 Apr 30 1995 rc.serial*
in the rc.d directory.
Here's a portion of rc.M multiuser config for example:
....
# Update all the shared library links automatically
/sbin/ldconfig
# Initialize PCMCIA devices:
if [ -x /etc/rc.d/rc.pcmcia ] ; then
. /etc/rc.d/rc.pcmcia start
fi
# Start the sendmail daemon:
if [ -x /usr/sbin/sendmail ]; then
echo "Starting sendmail daemon (/usr/sbin/sendmail -bd -q 15m)..."
/usr/sbin/sendmail -bd -q 15m
fi
# Load a custom screen font if the user has an rc.font script.
if [ -r /etc/rc.d/rc.font ]; then
. /etc/rc.d/rc.font
fi
# iBCS Emulation for Linux
# The Intel Binary Compatibility Specif
..........................
This should give a notion of the targets we need to handle.
Rahul
Reply to: