Sophie

Sophie

distrib > PLD > ac > amd64 > by-pkgid > 660a6438c43774207b57124132e81c68 > scriptlet

vtun-2.6-4.amd64.rpm

PREUN

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

POSTIN

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