From 90d2ba8daf9ac20bbd6a5eae10ad77c88a7fef9f Mon Sep 17 00:00:00 2001 From: Andrew Cady Date: Tue, 23 Feb 2021 16:45:49 -0500 Subject: boot menu: add shutdown option --- src/initrd/common.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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() 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.' # menutitle 'Samizdat\nfreedom from surveillance\nno trusted authorities' 'Choose an installation target.' addmenu "ramdisk" "[ Boot to RAM without installing anything ]" "menu-select boot-ram" + addmenu "poweroff" "[ Shut down the system immediately ]" "poweroff -f" if [ $? != 0 -a ! "$no_panic" ]; then panic "error loading boot menu! the system won't be usable :(" fi -- cgit v1.2.3