Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F103048936
D34149.id102281.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D34149.id102281.diff
View Options
diff --git a/usr.sbin/bsdinstall/scripts/wlanconfig b/usr.sbin/bsdinstall/scripts/wlanconfig
--- a/usr.sbin/bsdinstall/scripts/wlanconfig
+++ b/usr.sbin/bsdinstall/scripts/wlanconfig
@@ -213,23 +213,22 @@
if [ ! "$NETWORKS" ]; then
f_dialog_title "$msg_error"
f_yesno "No wireless networks were found. Rescan?" && continue
- exit 1
+ else
+ f_dialog_title "Network Selection"
+ prompt="Select a wireless network to connect to."
+ f_dialog_menu_size height width rows "$DIALOG_TITLE" \
+ "$DIALOG_BACKTITLE" "$prompt" "" $menu_list
+ NETWORK=$( eval $DIALOG \
+ --title \"\$DIALOG_TITLE\" \
+ --backtitle \"\$DIALOG_BACKTITLE\" \
+ --extra-button \
+ --extra-label \"Rescan\" \
+ --menu \"\$prompt\" \
+ $height $width $rows \
+ $NETWORKS \
+ 2>&1 >&$DIALOG_TERMINAL_PASSTHRU_FD
+ )
fi
-
- f_dialog_title "Network Selection"
- prompt="Select a wireless network to connect to."
- f_dialog_menu_size height width rows "$DIALOG_TITLE" \
- "$DIALOG_BACKTITLE" "$prompt" "" $menu_list
- NETWORK=$( eval $DIALOG \
- --title \"\$DIALOG_TITLE\" \
- --backtitle \"\$DIALOG_BACKTITLE\" \
- --extra-button \
- --extra-label \"Rescan\" \
- --menu \"\$prompt\" \
- $height $width $rows \
- $NETWORKS \
- 2>&1 >&$DIALOG_TERMINAL_PASSTHRU_FD
- )
retval=$?
f_dialog_data_sanitize NETWORK
case $retval in
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Nov 21, 6:32 AM (21 h, 57 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14754156
Default Alt Text
D34149.id102281.diff (1 KB)
Attached To
Mode
D34149: Fix bsdinstall/scripts/wlanconfig: allow user to enter WiFi details if no networks found, PR246192.
Attached
Detach File
Event Timeline
Log In to Comment