diff options
author | Michael Stapelberg <stapelberg@debian.org> | 2012-10-29 18:06:29 +0100 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2012-10-29 14:32:15 -0400 |
commit | 469c74d0ac590016eeae847e3fe4c353c6e0c25b (patch) | |
tree | fa8a07d25eb9b0d4ef0709865f22eda31de00fc2 /autoscripts/postinst-init | |
parent | d8e9aa3c77f796dc984af3a73125bc03b8f048c1 (diff) |
dh_installinit: only add systemd-tmpfiles --create when shipping tmpfiles
Diffstat (limited to 'autoscripts/postinst-init')
-rw-r--r-- | autoscripts/postinst-init | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/autoscripts/postinst-init b/autoscripts/postinst-init index f5371ce8..2430b2c0 100644 --- a/autoscripts/postinst-init +++ b/autoscripts/postinst-init @@ -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 /sys/fs/cgroup/systemd ] ; then - systemd-tmpfiles --create >/dev/null || true - fi - update-rc.d #SCRIPT# #INITPARMS# >/dev/null invoke-rc.d #SCRIPT# start || #ERROR_HANDLER# fi |