summaryrefslogtreecommitdiff
path: root/libre/systemd/systemd-hook
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2018-07-11 20:51:57 -0400
committerLuke Shumaker <lukeshu@lukeshu.com>2018-07-12 13:44:16 -0400
commit62a9de5139e9bbb95bee801146a61a90fce32510 (patch)
tree7d4c0764bf4fd1f24ad0609a93b25e654eb7d4d3 /libre/systemd/systemd-hook
parente24826c36a7f851a3b92656b35975caa1a62ae47 (diff)
downloadabslibre-62a9de5139e9bbb95bee801146a61a90fce32510.tar.gz
abslibre-62a9de5139e9bbb95bee801146a61a90fce32510.tar.bz2
abslibre-62a9de5139e9bbb95bee801146a61a90fce32510.zip
libre/systemd: Split udev off in to a separate package
Diffstat (limited to 'libre/systemd/systemd-hook')
-rw-r--r--libre/systemd/systemd-hook9
1 files changed, 0 insertions, 9 deletions
diff --git a/libre/systemd/systemd-hook b/libre/systemd/systemd-hook
index 0a664f2c5..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) udevd_live; /usr/bin/udevadm control --reload ;;
binfmt) systemd_live; /usr/lib/systemd/systemd-binfmt ;;
sysctl) systemd_live; /usr/lib/systemd/systemd-sysctl ;;