summaryrefslogtreecommitdiff
path: root/autoscripts/postinst-init-restart
diff options
context:
space:
mode:
authorMichael Stapelberg <michael@stapelberg.de>2013-05-07 22:02:57 +0200
committerJoey Hess <joey@kitenet.net>2013-05-07 19:42:50 -0400
commitf1645d3cdc4458ea16495d3a2aeb2c1c2de28cf2 (patch)
treea5a562fb334617e6d3bcee12b6dc7f9aef5eabe3 /autoscripts/postinst-init-restart
parent6e3a03b9096a18e6eca6aa1ad8b1a1378f12929e (diff)
dh_installinit: remove duplicate systemd-tmpfiles call
This was left over in commit 469c74d0ac by mistake. The code is in autoscripts/postinst-init-tmpfiles and gets pulled in only when tmpfiles are actually present.
Diffstat (limited to 'autoscripts/postinst-init-restart')
-rw-r--r--autoscripts/postinst-init-restart6
1 files changed, 0 insertions, 6 deletions
diff --git a/autoscripts/postinst-init-restart b/autoscripts/postinst-init-restart
index d27cc8d..35bba20 100644
--- a/autoscripts/postinst-init-restart
+++ b/autoscripts/postinst-init-restart
@@ -1,10 +1,4 @@
if [ -x "/etc/init.d/#SCRIPT#" ]; then
- # In case this system is running systemd, we need to ensure that all
- # necessary tmpfiles (if any) are created before starting.
- if [ -d /run/systemd/system ] ; then
- systemd-tmpfiles --create >/dev/null || true
- fi
-
update-rc.d #SCRIPT# #INITPARMS# >/dev/null
if [ -n "$2" ]; then
_dh_action=restart