diff options
author | Michael Stapelberg <stapelberg@debian.org> | 2013-06-17 20:57:34 +0200 |
---|---|---|
committer | Michael Stapelberg <michael@stapelberg.de> | 2013-06-17 20:57:34 +0200 |
commit | 645968cfd916f184ec6dec183a569cc7c42f2e60 (patch) | |
tree | 24c277405af2f0b61d63674233dd2554571a455f | |
parent | ae4a05385fa5a12e8d39e476921837201deecbae (diff) | |
download | init-system-helpers-645968cfd916f184ec6dec183a569cc7c42f2e60.tar.gz |
delete now unused autoscripts
-rw-r--r-- | autoscripts/postinst-systemd-enable-restart | 6 | ||||
-rw-r--r-- | autoscripts/postinst-systemd-enable-start | 6 | ||||
-rw-r--r-- | autoscripts/postrm-systemd-reload | 9 |
3 files changed, 0 insertions, 21 deletions
diff --git a/autoscripts/postinst-systemd-enable-restart b/autoscripts/postinst-systemd-enable-restart deleted file mode 100644 index a63aa6b..0000000 --- a/autoscripts/postinst-systemd-enable-restart +++ /dev/null @@ -1,6 +0,0 @@ -deb-systemd-helper enable #UNITFILES# >/dev/null || true - -if [ -d /run/systemd/system ]; then - systemctl --system daemon-reload >/dev/null || true - systemctl try-restart #UNITFILES# >/dev/null || true -fi diff --git a/autoscripts/postinst-systemd-enable-start b/autoscripts/postinst-systemd-enable-start deleted file mode 100644 index 6cccdcf..0000000 --- a/autoscripts/postinst-systemd-enable-start +++ /dev/null @@ -1,6 +0,0 @@ -deb-systemd-helper enable #UNITFILES# >/dev/null || true - -if [ -d /run/systemd/system ]; then - systemctl --system daemon-reload >/dev/null || true - systemctl start #UNITFILES# >/dev/null || true -fi diff --git a/autoscripts/postrm-systemd-reload b/autoscripts/postrm-systemd-reload deleted file mode 100644 index d86be20..0000000 --- a/autoscripts/postrm-systemd-reload +++ /dev/null @@ -1,9 +0,0 @@ -if [ "$1" = "remove" ] || [ "$1" = "purge" ]; then - if [ -x "/usr/bin/deb-systemd-helper" ]; then - deb-systemd-helper disable #UNITFILES# >/dev/null - fi -fi - -if [ -d /run/systemd/system ]; then - systemctl --system daemon-reload >/dev/null || true -fi |