diff options
Diffstat (limited to 'fish/.local/bin/sysctls.sh')
-rwxr-xr-x | fish/.local/bin/sysctls.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/fish/.local/bin/sysctls.sh b/fish/.local/bin/sysctls.sh new file mode 100755 index 0000000..ab72c13 --- /dev/null +++ b/fish/.local/bin/sysctls.sh @@ -0,0 +1,7 @@ +#!/usr/bin/bash + +if [[ "$1" == "poweroff" ]]; then + doas poweroff +elif [[ "$1" == "reboot" ]]; then + doas reboot +fi |