Sophie

Sophie

distrib > Scientific%20Linux > 5x > i386 > by-pkgid > 2de7a717c71e0c45f533c8eeb33f728c > scriptlet

initscripts-8.45.45-1.el5.i386.rpm

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
  /sbin/chkconfig --del rawdevices
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
/sbin/chkconfig --add rawdevices

Triggers

initscripts < 7.62

/bin/sh
/sbin/chkconfig --del random
exit 0