if [ -x "/etc/init.d/#SCRIPT#" -a "$1" = remove ]; then invoke-rc.d #SCRIPT# stop fi