diff options
author | bill-auger <mr.j.spam.me@gmail.com> | 2020-01-03 11:55:41 -0500 |
---|---|---|
committer | bill-auger <mr.j.spam.me@gmail.com> | 2020-01-03 11:56:24 -0500 |
commit | f5deb41aaa263d7dbf2e5dbe631b64362c1a594a (patch) | |
tree | 1ed7b1f07ba46ba8b3d3a7b9844a022ccbd013a5 /libre/notsystemd/systemd-hook | |
parent | bd08483225c324f3a1c289b78156bd03905ab1c4 (diff) | |
download | abslibre-f5deb41aaa263d7dbf2e5dbe631b64362c1a594a.tar.gz abslibre-f5deb41aaa263d7dbf2e5dbe631b64362c1a594a.tar.bz2 abslibre-f5deb41aaa263d7dbf2e5dbe631b64362c1a594a.zip |
[notsystemd][notsystemd-common][notsystemd-udev]: move to [nonsystemd]
Diffstat (limited to 'libre/notsystemd/systemd-hook')
-rw-r--r-- | libre/notsystemd/systemd-hook | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/libre/notsystemd/systemd-hook b/libre/notsystemd/systemd-hook deleted file mode 100644 index 793a42943..000000000 --- a/libre/notsystemd/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 |