#!/bin/sh

SERVICETOOL="/usr/syno/bin/servicetool"

if [ $SYNOPKG_PKG_STATUS != "UPGRADE" ]; then
       # remove port-forwarding config file and related firewall records
       ${SERVICETOOL} --remove-configure-file --package synodns.sc
fi

exit 0
