#!/usr/bin/env dash # shellcheck source=/dev/null SHELL_LIBRARY_VERSION="1.10.0" . %SHELL_LIBRARY_PATH task context none # We have ensured that only one task is active active="$(task +ACTIVE _ids)"; task stop "$active" systemctl hibernate "$@" # vim: ft=sh