mirror of
https://github.com/gtxaspec/wz_mini_hacks.git
synced 2024-11-22 05:27:24 +00:00
USB_DIRECT mac set from kernel module, no need to set here
This commit is contained in:
parent
966e6ffcea
commit
a14d6ee7cc
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user