Changeset 98468 in vbox for trunk/src/VBox/Installer
- Timestamp:
- Feb 3, 2023 2:54:32 PM (22 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Installer/linux/routines.sh
r98103 r98468 187 187 } 188 188 189 # Checks if system d is the init system of choice189 # Checks if systemctl is present and functional (i.e., systemd is the init process). 190 190 use_systemd() 191 191 { 192 # First condition is what halfway recent systemd uses itself, and the 193 # other two checks should cover everything back to v1. 194 test -e /run/systemd/system || test -e /sys/fs/cgroup/systemd || test -e /cgroup/systemd 192 systemctl status >/dev/null 2>&1 195 193 } 196 194
Note:
See TracChangeset
for help on using the changeset viewer.