about summary refs log tree commit diff stats
path: root/hm/soispha/pkgs/scripts/wrappers/hibernate
blob: e239cacdd32850999f385e18bef4a893bb9a42d5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/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