From a92c9e895a7cbc4e7572a1181221448488f229bd Mon Sep 17 00:00:00 2001 From: Stephen M Moraco Date: Tue, 18 Aug 2020 23:24:06 -0600 Subject: [PATCH] adjust hardware IF filter again... --- ISP-RPi-mqtt-daemon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ISP-RPi-mqtt-daemon.py b/ISP-RPi-mqtt-daemon.py index e8292fd..cb2b81c 100755 --- a/ISP-RPi-mqtt-daemon.py +++ b/ISP-RPi-mqtt-daemon.py @@ -401,7 +401,7 @@ def getUptime(): print_line('rpi_uptime=[{}]'.format(rpi_uptime), debug=True) def getNetworkIFsUsingIP(ip_cmd): - cmd_str = '{} link show | /bin/egrep -v "noque|link"'.format(ip_cmd) + cmd_str = '{} link show | /bin/egrep -v "link" | /bin/egrep " eth| wlan"'.format(ip_cmd) out = subprocess.Popen(cmd_str, shell=True, stdout=subprocess.PIPE,