mirror of
https://github.com/RaspAP/raspap-webgui.git
synced 2024-11-22 07:30:23 +00:00
Merge pull request #1137 from Jonny1797/patch-1
Wrong assumption of default behaviour
This commit is contained in:
commit
6f0d97858a
1 changed files with 1 additions and 1 deletions
|
@ -675,7 +675,7 @@ function _install_complete() {
|
||||||
# Prompt to reboot if wired ethernet (eth0) is connected.
|
# Prompt to reboot if wired ethernet (eth0) is connected.
|
||||||
# With default_configuration this will create an active AP on restart.
|
# With default_configuration this will create an active AP on restart.
|
||||||
if ip a | grep -q ': eth0:.*state UP'; then
|
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
|
read answer < /dev/tty
|
||||||
if [ "$answer" != "${answer#[Nn]}" ]; then
|
if [ "$answer" != "${answer#[Nn]}" ]; then
|
||||||
echo "Installation reboot aborted."
|
echo "Installation reboot aborted."
|
||||||
|
|
Loading…
Reference in a new issue