Sophie

Sophie

distrib > Fedora > 17 > i386 > by-pkgid > 36c4289fd68745f147f30ed8a4dd437d > scriptlet

initscripts-9.37.2-1.fc17.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 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