summaryrefslogtreecommitdiff
path: root/libre-testing/systemd/systemd-hook
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2019-01-18 01:26:00 +0100
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2019-01-18 01:26:00 +0100
commit7262681e044dffa25820ea90c657ffac266c254c (patch)
tree129c6b76a842f9a9dadbcfe4526a8e05d2731ec0 /libre-testing/systemd/systemd-hook
parentd9473a265ba35ed979d986804d843c2d1a43d520 (diff)
Move systemd 240.34 from libre-testing to libre
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Diffstat (limited to 'libre-testing/systemd/systemd-hook')
-rw-r--r--libre-testing/systemd/systemd-hook23
1 files changed, 0 insertions, 23 deletions
diff --git a/libre-testing/systemd/systemd-hook b/libre-testing/systemd/systemd-hook
deleted file mode 100644
index 793a42943..000000000
--- a/libre-testing/systemd/systemd-hook
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/bin/sh -e
-
-systemd_live() {
- if [ ! -d /run/systemd/system ]; then
- echo >&2 " Skipped: Current root is not booted."
- exit 0
- fi
-}
-
-case $1 in
- catalog) /usr/bin/journalctl --update-catalog ;;
- update) touch -c /usr ;;
- sysusers) /usr/bin/systemd-sysusers ;;
- tmpfiles) /usr/bin/systemd-tmpfiles --create ;;
-
- daemon-reload) systemd_live; /usr/bin/systemctl daemon-reload ;;
- binfmt) systemd_live; /usr/lib/systemd/systemd-binfmt ;;
- sysctl) systemd_live; /usr/lib/systemd/systemd-sysctl ;;
-
- *) echo >&2 " Invalid operation '$1'"; exit 1 ;;
-esac
-
-exit 0