Diff for /elwix/config/etc/uboot/rc.d/011.sta.stop between versions 1.2 and 1.2.2.1

version 1.2, 2014/09/15 19:06:52 version 1.2.2.1, 2015/03/05 22:32:00
Line 2 Line 2
   
 IFACE="wlan0"  IFACE="wlan0"
 WIFIDEV="ath0"  WIFIDEV="ath0"
   CLONEOPTS=""
   
 REGDOMAIN=""  REGDOMAIN=""
 COUNTRY=""  COUNTRY=""
Line 10  SSID="ap" Line 11  SSID="ap"
 BINT="100"  BINT="100"
 WIFIOPTS=""  WIFIOPTS=""
   
OPT=""OPTS=""
 IP="172.31.1.2/30"  IP="172.31.1.2/30"
   
   [ -z "$IFACE" -o -z "$WIFIDEV" ] && exit
   
 echo "Config wireless Station interface $IFACE ..."  echo "Config wireless Station interface $IFACE ..."
   
ifconfig $IFACE create wlandev $WIFIDEV wlanmode staifconfig $IFACE create wlandev $WIFIDEV $CLONEOPTS wlanmode sta || exit
#ifconfig $IFACE regdomain $REGDOMAINif [ -n "$REGDOMAIN" ]; then
#ifconfig $IFACE country $COUNTRY        ifconfig $IFACE regdomain $REGDOMAIN
ifconfig $IFACE $WIFIOPTSfi
ifconfig $IFACE bintval $BINTif [ -n "$COUNTRY" ]; then
        ifconfig $IFACE country $COUNTRY
ifconfig $IFACE ssid $SSIDfi
ifconfig $IFACE inet ${IP} ${OPT} upif [ -n "$WIFIOPTS" ]; then
         ifconfig $IFACE $WIFIOPTS
 fi
 if [ -n "$BINT" ]; then
         ifconfig $IFACE bintval $BINT
 fi
 if [ -n "$CHAN" ]; then
         ifconfig $IFACE channel $CHAN
 fi
 if [ -n "$SSID" ]; then
         ifconfig $IFACE ssid $SSID
 fi
 if [ -n "$IP" ]; then
         ifconfig $IFACE inet $IP
 fi
 ifconfig $IFACE $OPTS up
   
 [ -x /etc/sysctl.$IFACE ] && /etc/sysctl.$IFACE  [ -x /etc/sysctl.$IFACE ] && /etc/sysctl.$IFACE
   

Removed from v.1.2  
changed lines
  Added in v.1.2.2.1


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