Explorar o código

add deubg message to bonding rc.d script

Alfonso Gamboa %!s(int64=3) %!d(string=hai) anos
pai
achega
d57d83f4de
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      SD_ROOT/wz_mini/etc/rc.d/S07bonding

+ 1 - 0
SD_ROOT/wz_mini/etc/rc.d/S07bonding

@@ -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