Sophie

Sophie

distrib > PLD > ac > amd64 > by-pkgid > 0501d98684b54f50ce5ae1081bbbada9 > scriptlet

httptunnel-server-3.3-4.amd64.rpm

PREUN

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

POSTIN

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