mirror of
https://github.com/gtxaspec/wz_mini_hacks.git
synced 2025-10-13 02:48:10 +00:00
add netmon for bonding
This commit is contained in:
@@ -1 +1 @@
|
||||
Sat Aug 6 09:22:16 PM PDT 2022
|
||||
Sat Aug 6 11:05:01 PM PDT 2022
|
||||
|
@@ -3,8 +3,12 @@
|
||||
. /opt/wz_mini/wz_mini.conf
|
||||
. /opt/wz_mini/etc/rc.common
|
||||
|
||||
|
||||
if [[ "$ENABLE_USB_DIRECT" == "true" ]]; then
|
||||
wait_for_wlan_ip $(basename "$0")
|
||||
gateway_supervisor $(basename "$0")
|
||||
wait_for_wlan_ip $(basename "$0")
|
||||
sleep 5
|
||||
gateway_supervisor $(basename "$0") &
|
||||
fi
|
||||
|
||||
echo "kill udhcpc extra"
|
||||
kill $(pgrep -f 'udhcpc -i wlan0 -H WyzeCam')
|
||||
|
||||
|
Reference in New Issue
Block a user