Lines 83-89
exec 3>&-
Link Here
|
83 |
IFCONFIG_PREFIX="" |
83 |
IFCONFIG_PREFIX="" |
84 |
if is_wireless_if $INTERFACE; then |
84 |
if is_wireless_if $INTERFACE; then |
85 |
NEXT_WLAN_IFACE=wlan0 # XXX |
85 |
NEXT_WLAN_IFACE=wlan0 # XXX |
86 |
echo wlans_$INTERFACE=\"$NEXT_WLAN_IFACE\" >> $BSDINSTALL_TMPETC/._rc.conf.net |
86 |
sysrc -f $BSDINSTALL_TMPETC/._rc.conf.net wlans_$INTERFACE "$NEXT_WLAN_IFACE" |
87 |
IFCONFIG_PREFIX="WPA " |
87 |
IFCONFIG_PREFIX="WPA " |
88 |
if [ ! -z $BSDINSTALL_CONFIGCURRENT ]; then |
88 |
if [ ! -z $BSDINSTALL_CONFIGCURRENT ]; then |
89 |
ifconfig $NEXT_WLAN_IFACE create wlandev $INTERFACE |
89 |
ifconfig $NEXT_WLAN_IFACE create wlandev $INTERFACE |
Lines 117-123
fi
Link Here
|
117 |
# In case wlanconfig left an option and we do not support IPv4 we need to write |
117 |
# In case wlanconfig left an option and we do not support IPv4 we need to write |
118 |
# it out on its own. We cannot write it out with IPv6 as that suffix. |
118 |
# it out on its own. We cannot write it out with IPv6 as that suffix. |
119 |
if [ ${IPV4_AVAIL} -eq 0 -a -n ${IFCONFIG_PREFIX} ]; then |
119 |
if [ ${IPV4_AVAIL} -eq 0 -a -n ${IFCONFIG_PREFIX} ]; then |
120 |
echo ifconfig_${INTERFACE}=\"${IFCONFIG_PREFIX}\" >> $BSDINSTALL_TMPETC/._rc.conf.net |
120 |
sysrc -f $BSDINSTALL_TMPETC/._rc.conf.net ifconfig_$INTERFACE "${IFCONFIG_PREFIX}" |
121 |
fi |
121 |
fi |
122 |
if [ ${IPV6_AVAIL} -eq 1 ]; then |
122 |
if [ ${IPV6_AVAIL} -eq 1 ]; then |
123 |
bsddialog --backtitle "$OSNAME Installer" --title 'Network Configuration' \ |
123 |
bsddialog --backtitle "$OSNAME Installer" --title 'Network Configuration' \ |