Sophie

Sophie

distrib > Fedora > 13 > i386 > by-pkgid > 929a45cda68c1bba8856fb72d8a577b2 > scriptlet

initscripts-9.12.1-1.fc13.i686.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
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