summaryrefslogtreecommitdiff
path: root/autoscripts
diff options
context:
space:
mode:
authorjoey <joey>2002-08-04 22:53:01 +0000
committerjoey <joey>2002-08-04 22:53:01 +0000
commit99a3ec036f753431d19b2032ab9d978a269b85b2 (patch)
tree842f2e6d4c24b6b66acb3a63c1b61abca1f07a2d /autoscripts
parent749200052597fab71422b420b484c62a97accf9e (diff)
r542: * dh_installinit: Always start daemon on upgraded even if
--no-restart-on-upgrade is given; since the daemon is not stopped with that parameter starting it again is a no-op, unless the daemon was not running for some reason. This makes transtions to using the flag easier. Closes: #90976 and sorry it took me so long to verify you were right.
Diffstat (limited to 'autoscripts')
-rw-r--r--autoscripts/postinst-init-norestart8
-rw-r--r--autoscripts/postinst-init-norestart-invoke8
2 files changed, 0 insertions, 16 deletions
diff --git a/autoscripts/postinst-init-norestart b/autoscripts/postinst-init-norestart
deleted file mode 100644
index a574165..0000000
--- a/autoscripts/postinst-init-norestart
+++ /dev/null
@@ -1,8 +0,0 @@
-if [ -x "/etc/init.d/#SCRIPT#" ]; then
- update-rc.d #SCRIPT# #INITPARMS# >/dev/null
- if [ "$1" = "configure" ]; then
- if [ -z "$2" ] || [ "$2" = "<unknown>" ]; then
- /etc/init.d/#SCRIPT# start
- fi
- fi
-fi
diff --git a/autoscripts/postinst-init-norestart-invoke b/autoscripts/postinst-init-norestart-invoke
deleted file mode 100644
index be1751c..0000000
--- a/autoscripts/postinst-init-norestart-invoke
+++ /dev/null
@@ -1,8 +0,0 @@
-if [ -x "/etc/init.d/#SCRIPT#" ]; then
- update-rc.d #SCRIPT# #INITPARMS# >/dev/null
- if [ "$1" = "configure" ]; then
- if [ -z "$2" ] || [ "$2" = "<unknown>" ]; then
- invoke-rc.d #SCRIPT# start
- fi
- fi
-fi