#!/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 synoradius_port
fi

exit 0
