Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F148367361
D23641.id68155.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
D23641.id68155.diff
View Options
Index: usr.sbin/bsdinstall/scripts/wlanconfig
===================================================================
--- usr.sbin/bsdinstall/scripts/wlanconfig
+++ usr.sbin/bsdinstall/scripts/wlanconfig
@@ -279,8 +279,7 @@
"Password" 2 0 "" 2 12 15 63 1 \
2>&1 >&$DIALOG_TERMINAL_PASSTHRU_FD
) || exec "$0" "$@"
- awk 'sub(/^\t/,"")||1' \
- >> "$BSDINSTALL_TMPETC/wpa_supplicant.conf" <<EOF
+ cat >> "$BSDINSTALL_TMPETC/wpa_supplicant.conf" <<EOF
network={
ssid="$NETWORK"
scan_ssid=$SCANSSID
@@ -300,8 +299,7 @@
"Password" 3 0 "" 3 12 25 63 1 \
2>&1 >&$DIALOG_TERMINAL_PASSTHRU_FD
) || exec "$0" "$@"
- awk 'sub(/^\t/,"")||1' \
- >> "$BSDINSTALL_TMPETC/wpa_supplicant.conf" <<EOF
+ cat >> "$BSDINSTALL_TMPETC/wpa_supplicant.conf" <<EOF
network={
ssid="$NETWORK"
scan_ssid=$SCANSSID
@@ -324,8 +322,7 @@
"WEP Key 0" 2 0 "" 2 12 15 0 1 \
2>&1 >&$DIALOG_TERMINAL_PASSTHRU_FD
) || exec "$0" "$@"
- awk 'sub(/^\t/,"")||1' \
- >> "$BSDINSTALL_TMPETC/wpa_supplicant.conf" <<EOF
+ cat >> "$BSDINSTALL_TMPETC/wpa_supplicant.conf" <<EOF
network={
ssid="$NETWORK"
scan_ssid=$SCANSSID
@@ -336,8 +333,7 @@
}
EOF
else # Open
- awk 'sub(/^\t/,"")||1' \
- >> "$BSDINSTALL_TMPETC/wpa_supplicant.conf" <<EOF
+ cat >> "$BSDINSTALL_TMPETC/wpa_supplicant.conf" <<EOF
network={
ssid="$NETWORK"
scan_ssid=$SCANSSID
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Mar 18, 9:54 AM (5 h, 57 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29898477
Default Alt Text
D23641.id68155.diff (1 KB)
Attached To
Mode
D23641: Fix indentation in bsdinstall-created wpa_supplicant.conf
Attached
Detach File
Event Timeline
Log In to Comment