summaryrefslogtreecommitdiff
path: root/autoscripts/postinst-init-norestart
diff options
context:
space:
mode:
Diffstat (limited to 'autoscripts/postinst-init-norestart')
-rw-r--r--autoscripts/postinst-init-norestart6
1 files changed, 6 insertions, 0 deletions
diff --git a/autoscripts/postinst-init-norestart b/autoscripts/postinst-init-norestart
new file mode 100644
index 00000000..b33702c5
--- /dev/null
+++ b/autoscripts/postinst-init-norestart
@@ -0,0 +1,6 @@
+update-rc.d #SCRIPT# #INITPARMS# >/dev/null
+if [ "$1" = "configure" ]; then
+ if [ -z "$2" -o "$2" = "<unknown>" ]; then
+ /etc/init.d/#SCRIPT# start
+ fi
+fi