PREIN
/bin/sh
/usr/sbin/groupadd -g 22 -r -f utmp
PREUN
/bin/sh
if [ $1 = 0 ]; then
/sbin/chkconfig --del netfs
/sbin/chkconfig --del network
/sbin/chkconfig --del netconsole
fi
POSTIN
/bin/sh
touch /var/log/wtmp /var/run/utmp /var/log/btmp
chown root:utmp /var/log/wtmp /var/run/utmp /var/log/btmp
chmod 664 /var/log/wtmp /var/run/utmp
chmod 600 /var/log/btmp
/sbin/chkconfig --add netfs
/sbin/chkconfig --add network
/sbin/chkconfig --add netconsole
Triggers
initscripts <
7.62
/bin/sh
/sbin/chkconfig --del random
/sbin/chkconfig --del rawdevices
exit 0