Sophie

Sophie

distrib > PLD > ac > amd64 > by-pkgid > 65217bfc75f20daa5c3cff8c06713ff0 > scriptlet

rp-pppoe-server-3.8-1.amd64.rpm

PREUN

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

POSTIN

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