Sophie

Sophie

distrib > Fedora > 18 > i386 > by-pkgid > 8503693b22f0e0eeae39f909d18fb220 > scriptlet

ez-ipupdate-3.0.11-0.29.b8.fc18.i686.rpm

PREIN

/bin/sh
/usr/sbin/groupadd -r ez-ipupd >/dev/null 2>&1 || :
/usr/sbin/useradd -r -M -d /var/cache/ez-ipupdate -g ez-ipupd \
  -s /sbin/nologin -c "Dynamic DNS Client" ez-ipupd >/dev/null 2>&1 || :

PREUN

/bin/sh

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

POSTIN

/bin/sh

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

POSTUN

/bin/sh

/usr/bin/systemctl daemon-reload >/dev/null 2>&1 || :