From 308bb9f14cd404f762d56dbe4bec9fa926dc8cf8 Mon Sep 17 00:00:00 2001 From: HandcraftedBits Date: Mon, 8 Jul 2019 14:34:38 -0400 Subject: [PATCH] Fix #82: honor k3os.install.power_off when k3os.mode=install. --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 5467f668..b617c37f 100755 --- a/install.sh +++ b/install.sh @@ -336,7 +336,7 @@ if [ -n "$INTERACTIVE" ]; then exit 0 fi -if [ "$K3OS_INSTALL_POWER_OFF" = true ] || grep -q 'k3os.mode=install' /proc/cmdline; then +if [ "$K3OS_INSTALL_POWER_OFF" = true ] || grep -q 'k3os.install.power_off=true' /proc/cmdline; then poweroff -f else echo " * Rebooting system in 5 seconds (CTRL+C to cancel)"