4 if systemd-detect-virt
--chroot; then
5 echo >&2 " Skipped: Running in chroot."
12 if [ ! -d /run
/systemd
/system
]; then
13 echo >&2 " Skipped: Current root is not booted."
20 if [ ! -d /run
/udev
]; then
21 echo >&2 " Skipped: Device manager is not running."
29 catalog
) /usr
/bin
/journalctl
--update-catalog ;;
30 hwdb
) /usr
/bin
/systemd-hwdb
--usr update
;;
31 update
) touch -c /usr
;;
32 sysusers
) /usr
/bin
/systemd-sysusers
;;
33 tmpfiles
) /usr
/bin
/systemd-tmpfiles
--create ;;
35 daemon-reload
) systemd_live
; /usr
/bin
/systemctl daemon-reload
;;
36 udev-reload
) udevd_live
; /usr
/bin
/udevadm control
--reload ;;
37 binfmt
) systemd_live
; /usr
/lib
/systemd
/systemd-binfmt
;;
38 sysctl
) systemd_live
; /usr
/lib
/systemd
/systemd-sysctl
;;
40 # For use by other packages
41 reload
) systemd_live
; /usr
/bin
/systemctl try-reload-or-restart
"$@" ;;
43 *) echo >&2 " Invalid operation '$op'"; exit 1 ;;