Skip to content

Commit

Permalink
adjust hardware IF filter again...
Browse files Browse the repository at this point in the history
  • Loading branch information
ironsheep committed Aug 19, 2020
1 parent b2c11b4 commit a92c9e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ISP-RPi-mqtt-daemon.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit a92c9e8

Please sign in to comment.