summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Stapelberg <stapelberg@debian.org>2013-06-17 20:57:34 +0200
committerMichael Stapelberg <michael@stapelberg.de>2013-06-17 20:57:34 +0200
commit645968cfd916f184ec6dec183a569cc7c42f2e60 (patch)
tree24c277405af2f0b61d63674233dd2554571a455f
parentae4a05385fa5a12e8d39e476921837201deecbae (diff)
downloadinit-system-helpers-645968cfd916f184ec6dec183a569cc7c42f2e60.tar.gz
delete now unused autoscripts
-rw-r--r--autoscripts/postinst-systemd-enable-restart6
-rw-r--r--autoscripts/postinst-systemd-enable-start6
-rw-r--r--autoscripts/postrm-systemd-reload9
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