summaryrefslogtreecommitdiff
path: root/autoscripts/prerm-init
diff options
context:
space:
mode:
Diffstat (limited to 'autoscripts/prerm-init')
-rw-r--r--autoscripts/prerm-init4
1 files changed, 3 insertions, 1 deletions
diff --git a/autoscripts/prerm-init b/autoscripts/prerm-init
index 64975a3..260d69d 100644
--- a/autoscripts/prerm-init
+++ b/autoscripts/prerm-init
@@ -1 +1,3 @@
-/etc/init.d/#SCRIPT# stop
+if [ -e "#SCRIPT#" ]; then
+ /etc/init.d/#SCRIPT# stop
+fi