X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Flogin%2Floginctl.c;h=f740943966c368b22ed60b9ded7cb0d371396b79;hb=564def2927f3ca556724d4777ce29bb59304f28c;hp=9eef701b05dd96b1281c2922406a40013319bc69;hpb=40f140beb3f640c0fa6674478f990d57d10704b4;p=elogind.git diff --git a/src/login/loginctl.c b/src/login/loginctl.c index 9eef701b0..f74094396 100644 --- a/src/login/loginctl.c +++ b/src/login/loginctl.c @@ -1402,6 +1402,8 @@ static int help(int argc, char *argv[], void *userdata) { " suspend Suspend the machine to memory\n" " hibernate Suspend the machine to disk\n" " hybrid-sleep Suspend the machine to memory and disk\n" + " suspend-then-hibernate Suspend the system, wake after a period of\n" + " time and put it into hibernate\n" #endif // 0 , program_invocation_short_name); @@ -1627,6 +1629,7 @@ static int loginctl_main(int argc, char *argv[], sd_bus *bus) { { "suspend", VERB_ANY, 1, 0, start_special }, { "hibernate", VERB_ANY, 1, 0, start_special }, { "hybrid-sleep", VERB_ANY, 1, 0, start_special }, + { "suspend-then-hibernate", VERB_ANY, 1, 0, start_special }, { "cancel-shutdown", VERB_ANY, 1, 0, start_special }, #endif // 1 {}