]> git.donarmstrong.com Git - debhelper.git/blob - autoscripts/prerm-init
Merge branch 'master' of ssh://git.debian.org/git/debhelper/debhelper
[debhelper.git] / autoscripts / prerm-init
1 if [ -x "/etc/init.d/#SCRIPT#" ]; then
2         if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
3                 invoke-rc.d #SCRIPT# stop || #ERROR_HANDLER#
4         else
5                 /etc/init.d/#SCRIPT# stop || #ERROR_HANDLER#
6         fi
7 fi