diff options
author | Andrew Cady <d@cryptonomic.net> | 2021-02-23 16:45:49 -0500 |
---|---|---|
committer | Andrew Cady <d@cryptonomic.net> | 2021-02-23 16:45:49 -0500 |
commit | 90d2ba8daf9ac20bbd6a5eae10ad77c88a7fef9f (patch) | |
tree | 6cc6c0583fc384334ab9112a389658aea89d9ee0 /src/initrd | |
parent | 3412740ae60fbf6be07b2d2a429cf1403b32eab6 (diff) |
boot menu: add shutdown option
Diffstat (limited to 'src/initrd')
-rw-r--r-- | src/initrd/common.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/initrd/common.sh b/src/initrd/common.sh index 070ecba..750fa87 100644 --- a/src/initrd/common.sh +++ b/src/initrd/common.sh | |||
@@ -59,6 +59,7 @@ bootmenu() | |||
59 | menutitle 'Samizdat\n\nAs the Internet develops there are\ntransitions in the management arrangements.\nThe time has come to take\na small step in one of those transitions.' 'Choose an installation target.' | 59 | menutitle 'Samizdat\n\nAs the Internet develops there are\ntransitions in the management arrangements.\nThe time has come to take\na small step in one of those transitions.' 'Choose an installation target.' |
60 | # menutitle 'Samizdat\nfreedom from surveillance\nno trusted authorities' 'Choose an installation target.' | 60 | # menutitle 'Samizdat\nfreedom from surveillance\nno trusted authorities' 'Choose an installation target.' |
61 | addmenu "ramdisk" "[ Boot to RAM without installing anything ]" "menu-select boot-ram" | 61 | addmenu "ramdisk" "[ Boot to RAM without installing anything ]" "menu-select boot-ram" |
62 | addmenu "poweroff" "[ Shut down the system immediately ]" "poweroff -f" | ||
62 | if [ $? != 0 -a ! "$no_panic" ]; then | 63 | if [ $? != 0 -a ! "$no_panic" ]; then |
63 | panic "error loading boot menu! the system won't be usable :(" | 64 | panic "error loading boot menu! the system won't be usable :(" |
64 | fi | 65 | fi |