summaryrefslogtreecommitdiff
path: root/autoscripts/postinst-init-nostart
diff options
context:
space:
mode:
authorjoey <joey>2002-10-11 17:54:50 +0000
committerjoey <joey>2002-10-11 17:54:50 +0000
commitc9bbccaeb003be867ff5c8e8b015da77c9156fc7 (patch)
tree9ba7552fa1522ae6c2f25c5ee2c3da59b42b62c7 /autoscripts/postinst-init-nostart
parentbd891332bc47237f8c2355e1890f10b9e90499e2 (diff)
r557: * dh_installinit: added --no-start for rcS type scripts. Closes: #136502
Diffstat (limited to 'autoscripts/postinst-init-nostart')
-rw-r--r--autoscripts/postinst-init-nostart3
1 files changed, 3 insertions, 0 deletions
diff --git a/autoscripts/postinst-init-nostart b/autoscripts/postinst-init-nostart
new file mode 100644
index 0000000..5d882b6
--- /dev/null
+++ b/autoscripts/postinst-init-nostart
@@ -0,0 +1,3 @@
+if [ -x "/etc/init.d/#SCRIPT#" ]; then
+ update-rc.d #SCRIPT# #INITPARMS# >/dev/null
+fi