summaryrefslogtreecommitdiff
path: root/autoscripts/prerm-init-norestart
blob: fb99152472bd99c18cf29003b9fac868112c0a55 (plain)
1
2
3
4
5
6
7
if [ -x "/etc/init.d/#SCRIPT#" ] && [ "$1" = remove ]; then
	if [ -x /usr/sbin/invoke-rc.d ] ; then
		invoke-rc.d #SCRIPT# stop
	else
		/etc/init.d/#SCRIPT# stop
	fi
fi