Annotation of elwix/config/etc/default/rc.d/011.dwds_base.stop, revision 1.2

1.1       misho       1: #!/bin/sh
                      2: 
                      3: IFACE="wlan0"
                      4: WIFIDEV="ath0"
                      5: 
                      6: REGDOMAIN=""
                      7: COUNTRY=""
                      8: 
                      9: SSID="dwds"
                     10: CHAN="36:a"
1.2     ! misho      11: BINT="100"
        !            12: WIFIOPTS="dwds -apbridge -bgscan"
1.1       misho      13: 
                     14: OPT=""
                     15: IP="172.31.1.1/30"
                     16: 
1.2     ! misho      17: echo "Config wirelss DWDS (Base) interface $IFACE ..."
1.1       misho      18: 
1.2     ! misho      19: ifconfig $IFACE create wlandev $WIFIDEV wlanmode hostap
        !            20: #ifconfig $IFACE regdomain $REGDOMAIN
        !            21: #ifconfig $IFACE country $COUNTRY
        !            22: ifconfig $IFACE $WIFIOPTS
        !            23: ifconfig $IFACE bintval $BINT
        !            24: ifconfig $IFACE channel $CHAN
1.1       misho      25: 
                     26: ifconfig $IFACE ssid $SSID
                     27: ifconfig $IFACE inet ${IP} ${OPT} up
                     28: 
                     29: [ -x /etc/sysctl.$IFACE ] && /etc/sysctl.$IFACE
                     30: 
                     31: [ -x /etc/wifi_up.sh ] && /etc/wifi_up.sh $IFACE >/dev/null 2>&1 &
                     32: 
                     33: [ -x /etc/dwds_up.sh ] && /usr/bin/dwds $WIFIDEV
                     34: 
                     35: #wlandebug -i $IFACE state+scan+assoc+auth+wds+11n

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>