When systemd is fully installed, `loginctl` does not support the actions `reboot`, `poweroff` and `suspend`. Fix this by using `systemctl` if installed.
1.6 KiB
Executable File
1.6 KiB
Executable File