From 645968cfd916f184ec6dec183a569cc7c42f2e60 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Mon, 17 Jun 2013 20:57:34 +0200 Subject: delete now unused autoscripts --- autoscripts/postinst-systemd-enable-restart | 6 ------ autoscripts/postinst-systemd-enable-start | 6 ------ autoscripts/postrm-systemd-reload | 9 --------- 3 files changed, 21 deletions(-) delete mode 100644 autoscripts/postinst-systemd-enable-restart delete mode 100644 autoscripts/postinst-systemd-enable-start delete mode 100644 autoscripts/postrm-systemd-reload (limited to 'autoscripts') 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 -- cgit v1.2.3