summaryrefslogtreecommitdiff
path: root/autoscripts/postinst-init-invoke
diff options
context:
space:
mode:
Diffstat (limited to 'autoscripts/postinst-init-invoke')
-rw-r--r--autoscripts/postinst-init-invoke4
1 files changed, 4 insertions, 0 deletions
diff --git a/autoscripts/postinst-init-invoke b/autoscripts/postinst-init-invoke
new file mode 100644
index 00000000..217a7c8b
--- /dev/null
+++ b/autoscripts/postinst-init-invoke
@@ -0,0 +1,4 @@
+if [ -x "/etc/init.d/#SCRIPT#" ]; then
+ update-rc.d #SCRIPT# #INITPARMS# >/dev/null
+ invoke-rc.d #SCRIPT# start
+fi