PREUN
/bin/sh
if [ $1 -eq 0 ]; then /bin/systemctl --no-reload disable ndtpd.socket > /dev/null 2>&1 || : for i in `/bin/systemctl --full | grep ndtpd | grep running | cut -d' ' -f1`; do /bin/systemctl stop $i 2>&1 || : done fi #%postun -n ndtpd #/bin/systemctl daemon-reload >/dev/null 2>&1 || : #if [ $1 -ge 1 ]; then # /bin/systemctl try-restart ndtpd.service >/dev/null 2>&1 || : #fi
POSTIN
/bin/sh
if [ $1 -eq 1 ]; then /bin/systemctl daemon-reload >/dev/null 2>&1 || : fi