Sophie

Sophie

distrib > Fedora > 13 > x86_64 > by-pkgid > c3062ec90808454c979df5cf1cc430a5 > scriptlet

initscripts-9.12-1.fc13.x86_64.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