Compare commits
1 Commits
Author | SHA1 | Date |
---|---|---|
Christian Dresel | ffe4d43b8a |
|
@ -63,6 +63,9 @@ for filename in $(grep 'up\|unknown' /sys/class/net/*/operstate); do
|
|||
/width/{ split($0, w, ": "); sub(/ .*/, "", w[2]); printf "<wlan_width>"w[2]"</wlan_width>" }
|
||||
')
|
||||
|
||||
#Add Interfacetype (e.g. wireguard, fastd, vxlan, ether, etc) to nodewatcher data
|
||||
wg show "${iface}" &> /dev/null && interface_data=$interface_data"<type>wireguard</type>"
|
||||
|
||||
interface_data=$interface_data"</$iface>"
|
||||
done
|
||||
|
||||
|
|
Loading…
Reference in New Issue