summaryrefslogtreecommitdiffstats
path: root/autoscripts/postrm-init
blob: 6b8134188b50acd04e6686dba0414b47367438fa (plain)
1
2
3
4
5
6
if [ "$1" = "remove" ] && [ -x "/etc/init.d/#SCRIPT#" ] ; then
	chmod -x "/etc/init.d/#SCRIPT#" >/dev/null || true
fi
if [ -z "${DPKG_ROOT:-}" ] && [ "$1" = "purge" ] ; then
	update-rc.d #SCRIPT# remove >/dev/null
fi