ソースを参照

USB_DIRECT mac set from kernel module, no need to set here

Alfonso Gamboa 3 年 前
コミット
a14d6ee7cc
1 ファイル変更0 行追加3 行削除
  1. 0 3
      SD_ROOT/wz_mini/run_mmc.sh

+ 0 - 3
SD_ROOT/wz_mini/run_mmc.sh

@@ -130,9 +130,6 @@ rename_interface() {
 
 eth_wlan_up() {
 ##Run DHCP client, and bind mount our fake wpa_cli.sh to fool iCamera
-	if [[ "$ENABLE_USB_DIRECT" == "true" ]]; then
-		/media/mmc/wz_mini/bin/busybox ip link set wlan0 address $USB_DIRECT_MAC_ADDR
-	fi
         ifconfig wlan0 up
 	pkill udhcpc
         udhcpc -i wlan0 -x hostname:$HOSTNAME -p /var/run/udhcpc.pid -b