Sophie

Sophie

distrib > PLD > ac > amd64 > by-pkgid > 3f8de52d048bf6d1ef38aac9cd9064e5 > scriptlet

poppassd-1.8.5-1.amd64.rpm

POSTIN

/bin/sh
{
skip_auto_restart() {
[ -f /etc/sysconfig/rpm ] && . /etc/sysconfig/rpm
[ -f /etc/sysconfig/rc-inetd ] && . /etc/sysconfig/rc-inetd
echo ${RPM_SKIP_AUTO_RESTART:-no}
};
if [ $(skip_auto_restart) = no ]; then
if [ -f /var/lock/subsys/rc-inetd ]; then
/sbin/service rc-inetd reload 1>&2 || :;
fi
fi };echo "You have to tune your /etc/tcpd/hosts.allow and /etc/tcpd/hosts.deny"
echo "to deny access from non-localhost - put there:"
echo "poppassd: http@localhost: allow"
echo "poppassd: ALL: deny"

POSTUN

/bin/sh
if [ "$1" = 0 ]; then
	{
skip_auto_restart() {
[ -f /etc/sysconfig/rpm ] && . /etc/sysconfig/rpm
[ -f /etc/sysconfig/rc-inetd ] && . /etc/sysconfig/rc-inetd
echo ${RPM_SKIP_AUTO_RESTART:-no}
};
if [ $(skip_auto_restart) = no ]; then
if [ -f /var/lock/subsys/rc-inetd ]; then
/sbin/service rc-inetd reload 1>&2 || :;
fi
fi };fi