diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2018-07-12 17:19:36 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2018-07-12 17:19:36 -0400 |
commit | 759a6fc45aedef6cf6223c8c03f1737d1896f15d (patch) | |
tree | 625ec95c441aa0060916f2b6d7eef5d3aa07f241 /libre/systemd/systemd-hook | |
parent | 36874999c237bac6bed665e4380ad5004e46fd4b (diff) | |
parent | a51a45f18643194977b898d44ca94a88ce1105ca (diff) | |
download | abslibre-759a6fc45aedef6cf6223c8c03f1737d1896f15d.tar.gz abslibre-759a6fc45aedef6cf6223c8c03f1737d1896f15d.tar.bz2 abslibre-759a6fc45aedef6cf6223c8c03f1737d1896f15d.zip |
Merge branch 'lukeshu/systemd-split'
Diffstat (limited to 'libre/systemd/systemd-hook')
-rw-r--r-- | libre/systemd/systemd-hook | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/libre/systemd/systemd-hook b/libre/systemd/systemd-hook index 79505dfe8..793a42943 100644 --- a/libre/systemd/systemd-hook +++ b/libre/systemd/systemd-hook @@ -7,22 +7,13 @@ systemd_live() { fi } -udevd_live() { - if [ ! -d /run/udev ]; then - echo >&2 " Skipped: Device manager is not running." - exit 0 - fi -} - case $1 in catalog) /usr/bin/journalctl --update-catalog ;; - hwdb) /usr/bin/systemd-hwdb --usr update ;; update) touch -c /usr ;; sysusers) /usr/bin/systemd-sysusers ;; tmpfiles) /usr/bin/systemd-tmpfiles --create ;; daemon-reload) systemd_live; /usr/bin/systemctl daemon-reload ;; - udev-reload) systemd_live; /usr/bin/udevadm control --reload ;; binfmt) systemd_live; /usr/lib/systemd/systemd-binfmt ;; sysctl) systemd_live; /usr/lib/systemd/systemd-sysctl ;; |