Installing Sysvinit-&sysvinit-version;
The Sysvinit package contains programs for controlling the startup,
running, and shutdown of your system.
&buildtime; &sysvinit-time;
&diskspace; &sysvinit-compsize;
&aa-sysvinit-down;
&aa-sysvinit-dep;
Installation of Sysvinit
When runlevels are changed (for example, when halting the system),
init sends termination signals to those processes that it
itself started and that shouldn't be running in the new runlevel. While doing
this, init outputs messages like "Sending processes the TERM
signal" which seem to imply that it is sending these signals to all currently
running processes. To avoid this misinterpretation, you can modify the source
so that these messages read like "Sending processes started by init the TERM
signal" instead:
cp src/init.c{,.backup}
sed 's/Sending processes/& started by init/g' \
src/init.c.backup > src/init.c
Compile Sysvinit:
make -C src
And install it:
make -C src install
Configuring Sysvinit
Create a new /etc/inittab file by running the
following:
cat > /etc/inittab << "EOF"
# Begin /etc/inittab
id:3:initdefault:
si::sysinit:/etc/rc.d/init.d/rc sysinit
l0:0:wait:/etc/rc.d/init.d/rc 0
l1:S1:wait:/etc/rc.d/init.d/rc 1
l2:2:wait:/etc/rc.d/init.d/rc 2
l3:3:wait:/etc/rc.d/init.d/rc 3
l4:4:wait:/etc/rc.d/init.d/rc 4
l5:5:wait:/etc/rc.d/init.d/rc 5
l6:6:wait:/etc/rc.d/init.d/rc 6
ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now
su:S016:once:/sbin/sulogin
1:2345:respawn:/sbin/agetty tty1 9600
2:2345:respawn:/sbin/agetty tty2 9600
3:2345:respawn:/sbin/agetty tty3 9600
4:2345:respawn:/sbin/agetty tty4 9600
5:2345:respawn:/sbin/agetty tty5 9600
6:2345:respawn:/sbin/agetty tty6 9600
# End /etc/inittab
EOF
&aa-sysvinit-shortdesc;
&aa-sysvinit-desc;