Sophie

Sophie

distrib > Fedora > 14 > i386 > by-pkgid > 35dbdf9c2d5e83efae85f55f9e8ae475 > scriptlet

initscripts-9.20.2-1.fc14.1.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
if [ $1 -eq 1 ]; then
        /bin/systemctl daemon-reload > /dev/null 2>&1 || :
fi

POSTUN

/bin/sh
if [ $1 -ge 1 ]; then
	/bin/systemctl daemon-reload > /dev/null 2>&1 || :
fi

Triggers

initscripts < 7.62

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