add deubg message to bonding rc.d script

This commit is contained in:
Alfonso Gamboa 2022-08-02 20:32:58 -07:00
parent 7dcaf6231c
commit d57d83f4de

View File

@ -60,6 +60,7 @@ bonding_setup() {
# wpa_supplicant that might be running and spawn our own instead
if [[ "$BONDING_ENABLED" == "true" ]] && ([[ "$ENABLE_USB_ETH" == "true" ]] || [[ "$ENABLE_USB_DIRECT" == "true" ]]); then
echo "Restarting wpa_supplicant due to bonding"
/opt/wz_mini/bin/busybox killall wpa_supplicant
wpa_supplicant -D nl80211 -i wlanold -c /tmp/wpa_supplicant.conf -B -s
fi