Sophie

Sophie

distrib > Fedora > 18 > i386 > by-pkgid > 73793be7e966dbca96c5d0417c11f960 > scriptlet

ndjbdns-1.05.9-1.fc18.i686.rpm

PREUN

/bin/sh

if [ $1 -eq 0 ] ; then 
        # Package removal, not upgrade 
        /usr/bin/systemctl --no-reload disable axfrdns.service > /dev/null 2>&1 || : 
        /usr/bin/systemctl stop axfrdns.service > /dev/null 2>&1 || : 
fi 

if [ $1 -eq 0 ] ; then 
        # Package removal, not upgrade 
        /usr/bin/systemctl --no-reload disable dnscache.service > /dev/null 2>&1 || : 
        /usr/bin/systemctl stop dnscache.service > /dev/null 2>&1 || : 
fi 

if [ $1 -eq 0 ] ; then 
        # Package removal, not upgrade 
        /usr/bin/systemctl --no-reload disable rbldns.service > /dev/null 2>&1 || : 
        /usr/bin/systemctl stop rbldns.service > /dev/null 2>&1 || : 
fi 

if [ $1 -eq 0 ] ; then 
        # Package removal, not upgrade 
        /usr/bin/systemctl --no-reload disable tinydns.service > /dev/null 2>&1 || : 
        /usr/bin/systemctl stop tinydns.service > /dev/null 2>&1 || : 
fi 

if [ $1 -eq 0 ] ; then 
        # Package removal, not upgrade 
        /usr/bin/systemctl --no-reload disable walldns.service > /dev/null 2>&1 || : 
        /usr/bin/systemctl stop walldns.service > /dev/null 2>&1 || : 
fi

POSTIN

/bin/sh

if [ $1 -eq 1 ] ; then 
        # Initial installation 
        /usr/bin/systemctl preset axfrdns.service >/dev/null 2>&1 || : 
fi 

if [ $1 -eq 1 ] ; then 
        # Initial installation 
        /usr/bin/systemctl preset dnscache.service >/dev/null 2>&1 || : 
fi 

if [ $1 -eq 1 ] ; then 
        # Initial installation 
        /usr/bin/systemctl preset rbldns.service >/dev/null 2>&1 || : 
fi 

if [ $1 -eq 1 ] ; then 
        # Initial installation 
        /usr/bin/systemctl preset tinydns.service >/dev/null 2>&1 || : 
fi 

if [ $1 -eq 1 ] ; then 
        # Initial installation 
        /usr/bin/systemctl preset walldns.service >/dev/null 2>&1 || : 
fi

POSTUN

/bin/sh

/usr/bin/systemctl daemon-reload >/dev/null 2>&1 || : 
if [ $1 -ge 1 ] ; then 
        # Package upgrade, not uninstall 
        /usr/bin/systemctl try-restart axfrdns.service >/dev/null 2>&1 || : 
fi 

/usr/bin/systemctl daemon-reload >/dev/null 2>&1 || : 
if [ $1 -ge 1 ] ; then 
        # Package upgrade, not uninstall 
        /usr/bin/systemctl try-restart dnscache.service >/dev/null 2>&1 || : 
fi 

/usr/bin/systemctl daemon-reload >/dev/null 2>&1 || : 
if [ $1 -ge 1 ] ; then 
        # Package upgrade, not uninstall 
        /usr/bin/systemctl try-restart rbldns.service >/dev/null 2>&1 || : 
fi 

/usr/bin/systemctl daemon-reload >/dev/null 2>&1 || : 
if [ $1 -ge 1 ] ; then 
        # Package upgrade, not uninstall 
        /usr/bin/systemctl try-restart tinydns.service >/dev/null 2>&1 || : 
fi 

/usr/bin/systemctl daemon-reload >/dev/null 2>&1 || : 
if [ $1 -ge 1 ] ; then 
        # Package upgrade, not uninstall 
        /usr/bin/systemctl try-restart walldns.service >/dev/null 2>&1 || : 
fi