From eeaed09f51a3132662d4c42f7e7ba1825eccf5e6 Mon Sep 17 00:00:00 2001 From: Jonny1797 Date: Mon, 7 Mar 2022 17:50:10 +0100 Subject: [PATCH] Wrong assumption of default behaviour As the default behaviour is the reboot, the "yes" option should (like before) stand out. Alternatively one can make default that the device does not reboot. --- installers/common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installers/common.sh b/installers/common.sh index d43e287b..d24708d8 100755 --- a/installers/common.sh +++ b/installers/common.sh @@ -675,7 +675,7 @@ function _install_complete() { # Prompt to reboot if wired ethernet (eth0) is connected. # With default_configuration this will create an active AP on restart. if ip a | grep -q ': eth0:.*state UP'; then - echo -n "The system needs to be rebooted as a final step. Reboot now? [y/N]: " + echo -n "The system needs to be rebooted as a final step. Reboot now? [Y/n]: " read answer < /dev/tty if [ "$answer" != "${answer#[Nn]}" ]; then echo "Installation reboot aborted."