Sophie

Sophie

distrib > Fedora > 17 > i386 > media > updates > by-pkgid > ac32df51faec50ddc61fd106af57bb96 > scriptlet

dnsmasq-2.65-6.fc17.i686.rpm

PREUN

/bin/sh
if [ $1 -eq 0 ]; then
  /bin/systemctl --no-reload dnsmasq.service > /dev/null 2>&1 || :
  /bin/systemctl stop dnsmasq.service > /dev/null 2>&1 || :
fi

POSTIN

/bin/sh
if [ $1 -eq 1 ] ; then
    /bin/systemctl daemon-reload >/dev/null 2>&1 || :
fi

POSTUN

/bin/sh
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
if [ $1 -ge 1 ] ; then
    /bin/systemctl try-restart dnsmasq.service >/dev/null 2>&1 || :
fi

Triggers

dnsmasq < 2.52-3

/bin/sh
/usr/bin/systemd-sysv-convert --save dnsmasq >/dev/null 2>&1 ||:
/sbin/chkconfig --del dnsmasq >/dev/null 2>&1 || :
/bin/systemctl try-restart dnsmasq.service >/dev/null 2>&1 || :