Browse Source

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.
pull/1137/head
Jonny1797 9 months ago
committed by GitHub
parent
commit
eeaed09f51
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      installers/common.sh

2
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."

Loading…
Cancel
Save