summaryrefslogtreecommitdiff
path: root/shell-completion
diff options
context:
space:
mode:
authorMario Limonciello <superm1@gmail.com>2018-03-08 21:17:33 +0800
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2018-03-08 14:17:33 +0100
commitc58493c00af97146d3b6c24da9c0371978124703 (patch)
treeeef8dce2e68194b33df3faec0631bee8543a175b /shell-completion
parentfc17f194ded93b51899aa0bbd4e66870d975fe5a (diff)
downloadsystemd-c58493c00af97146d3b6c24da9c0371978124703.tar.gz
Introduce suspend-to-hibernate (#8274)
Suspend to Hibernate is a new sleep method that invokes suspend for a predefined period of time before automatically waking up and hibernating the system. It's similar to HybridSleep however there isn't a performance impact on every suspend cycle. It's intended to use with systems that may have a higher power drain in their supported suspend states to prevent battery and data loss over an extended suspend cycle. Signed-off-by: Mario Limonciello <mario.limonciello@dell.com>
Diffstat (limited to 'shell-completion')
-rw-r--r--shell-completion/bash/systemctl.in5
-rw-r--r--shell-completion/zsh/_systemctl.in1
2 files changed, 4 insertions, 2 deletions
diff --git a/shell-completion/bash/systemctl.in b/shell-completion/bash/systemctl.in
index 080deeaace..de2648a96c 100644
--- a/shell-completion/bash/systemctl.in
+++ b/shell-completion/bash/systemctl.in
@@ -205,8 +205,9 @@ _systemctl () {
[JOBS]='cancel'
[ENVS]='set-environment unset-environment import-environment'
[STANDALONE]='daemon-reexec daemon-reload default
- emergency exit halt hibernate hybrid-sleep kexec list-jobs
- list-sockets list-timers list-units list-unit-files poweroff
+ emergency exit halt hibernate hybrid-sleep
+ suspend-to-hibernate kexec list-jobs list-sockets
+ list-timers list-units list-unit-files poweroff
reboot rescue show-environment suspend get-default
is-system-running preset-all'
[FILE]='link switch-root'
diff --git a/shell-completion/zsh/_systemctl.in b/shell-completion/zsh/_systemctl.in
index a3df9a0457..ca0744457b 100644
--- a/shell-completion/zsh/_systemctl.in
+++ b/shell-completion/zsh/_systemctl.in
@@ -18,6 +18,7 @@
"force-reload:Reload one or more units if possible, otherwise restart if active"
"hibernate:Hibernate the system"
"hybrid-sleep:Hibernate and suspend the system"
+ "suspend-to-hibernate:Suspend the system for a period of time, and then hibernate it"
"try-reload-or-restart:Reload one or more units if possible, otherwise restart if active"
"isolate:Start one unit and stop all others"
"kill:Send signal to processes of a unit"