Skip to content

Commit 0bd5edc

Browse files
committed
Defaults for assistant and hotspot set to N
1 parent fdce71e commit 0bd5edc

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

install.sh

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -278,13 +278,13 @@ function installNginx() {
278278

279279
function askAssistantInstall() {
280280
echo "MudPi Assistant is a web interface for first time configurations"
281-
echo -n "Install mudpi-assistant and enable web configs? [Y/n]: "
281+
echo -n "Install mudpi-assistant and enable web configs? [y/N]: "
282282
if [ "$force_yes" == 0 ]; then
283283
read answer < /dev/tty
284-
if [ "$answer" != "${answer#[Nn]}" ]; then
285-
echo -e
286-
else
284+
if [ "$answer" != "${answer#[Yy]}" ]; then
287285
assistant_option=1
286+
else
287+
echo -e
288288
fi
289289
else
290290
assistant_option=1
@@ -308,13 +308,13 @@ function askUIInstall() {
308308

309309
# ask to install access point
310310
function askAPModeInstall() {
311-
echo -n "Install hostapd and make Access Point configuration? [Y/n]: "
311+
echo -n "Install hostapd and make Access Point configuration? [y/N]: "
312312
if [ "$force_yes" == 0 ]; then
313313
read answer < /dev/tty
314-
if [ "$answer" != "${answer#[Nn]}" ]; then
315-
echo -e
316-
else
314+
if [ "$answer" != "${answer#[Yy]}" ]; then
317315
ap_mode_option=1
316+
else
317+
echo -e
318318
fi
319319
else
320320
ap_mode_option=1

0 commit comments

Comments
 (0)