From a14d6ee7cc38bbda891d8870e6f3716ab972d333 Mon Sep 17 00:00:00 2001 From: Alfonso Gamboa Date: Fri, 20 May 2022 00:23:45 -0700 Subject: [PATCH] USB_DIRECT mac set from kernel module, no need to set here --- SD_ROOT/wz_mini/run_mmc.sh | 3 --- 1 file changed, 3 deletions(-) diff --git a/SD_ROOT/wz_mini/run_mmc.sh b/SD_ROOT/wz_mini/run_mmc.sh index 6a534d5..7e23472 100755 --- a/SD_ROOT/wz_mini/run_mmc.sh +++ b/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