diff options
Diffstat (limited to 'autoscripts/postinst-init')
-rw-r--r-- | autoscripts/postinst-init | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/autoscripts/postinst-init b/autoscripts/postinst-init index 976c6b34..5ef99c7c 100644 --- a/autoscripts/postinst-init +++ b/autoscripts/postinst-init @@ -1,2 +1,4 @@ -update-rc.d #SCRIPT# #INITPARMS# >/dev/null -/etc/init.d/#SCRIPT# start +if [ -e "#SCRIPT#" ]; then + update-rc.d #SCRIPT# #INITPARMS# >/dev/null + /etc/init.d/#SCRIPT# start +fi |