diff options
Diffstat (limited to 'autoscripts/prerm-init-norestart')
-rw-r--r-- | autoscripts/prerm-init-norestart | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/autoscripts/prerm-init-norestart b/autoscripts/prerm-init-norestart new file mode 100644 index 00000000..fb991524 --- /dev/null +++ b/autoscripts/prerm-init-norestart @@ -0,0 +1,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 |