Annotation of elwix/config/etc/uboot/rc.d/011.wds.stop, revision 1.2
1.2 ! misho 1: #!/bin/sh
! 2:
! 3: BSSID="00:50:43:20:6f:a9"
! 4:
! 5: IFACE="wlan0"
! 6: WIFIDEV="ath0"
! 7:
! 8: REGDOMAIN=""
! 9: COUNTRY=""
! 10:
! 11: SSID=""
! 12: CHAN="-1"
! 13: BINT="100"
! 14: WIFIOPTS="-bgscan"
! 15:
! 16: OPT=""
! 17: IP="172.31.1.1/30"
! 18:
! 19: echo "Config wireless WDS interface $IFACE ..."
! 20:
! 21: ifconfig $IFACE create wlandev $WIFIDEV wlanmode wds wlanbssid $BSSID wdslegacy
! 22: #ifconfig $IFACE regdomain $REGDOMAIN
! 23: #ifconfig $IFACE country $COUNTRY
! 24: ifconfig $IFACE $WIFIOPTS
! 25: ifconfig $IFACE bintval $BINT
! 26: ifconfig $IFACE channel $CHAN
! 27:
! 28: ifconfig $IFACE ssid $SSID
! 29: ifconfig $IFACE inet ${IP} ${OPT} up
! 30:
! 31: [ -x /etc/sysctl.$IFACE ] && /etc/sysctl.$IFACE
! 32:
! 33: [ -x /etc/wifi_up.sh ] && /etc/wifi_up.sh $IFACE >/dev/null 2>&1 &
! 34:
! 35: #wlandebug -i $IFACE output+inact+node+11n
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>