Sophie

Sophie

distrib > PLD > ac > amd64 > by-pkgid > e40f8683bc243212f406f5c7b3bf5538 > scriptlet

quota-rquotad-3.14-2.amd64.rpm

PREUN

/bin/sh
if [ "$1" = "0" ]; then
	{
if [ -f /var/lock/subsys/rquotad ]; then
/sbin/service rquotad stop 1>&2 || :;
fi };	/sbin/chkconfig --del rquotad
fi

POSTIN

/bin/sh
/sbin/chkconfig --add rquotad
{
skip_auto_restart() {
[ -f /etc/sysconfig/rpm ] && . /etc/sysconfig/rpm
[ -f /etc/sysconfig/rquotad ] && . /etc/sysconfig/rquotad
echo ${RPM_SKIP_AUTO_RESTART:-no}
};
if [ $(skip_auto_restart) = no ]; then
if [ -f /var/lock/subsys/rquotad ]; then
/sbin/service rquotad restart 1>&2 || :;
else
echo 'Run "/sbin/service rquotad start" to start NFS quota daemon.'
fi
fi };