Page MenuHomeFreeBSD

D23641.id68155.diff
No OneTemporary

D23641.id68155.diff

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

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)

Event Timeline