3 if [ -z "$SUDO_USER" ]; then
4 echo >&2 "$0 must be invoked via sudo"
10 systemctl stop "novaboot-power-off@${SUDO_USER}.timer"
11 systemctl start "novaboot-power@${SUDO_USER}.service"
14 systemctl stop "novaboot-power@${SUDO_USER}.service"
17 systemctl start "novaboot-power-off@${SUDO_USER}.timer"
20 echo >&2 "Invalid argument"