Update use device on/off

This commit is contained in:
Hans Karlinius
2025-06-06 21:52:52 +02:00
parent 6462b2c1c4
commit be31daf6af

View File

@@ -1,3 +1,3 @@
#!/command/with-contenv bashio
/usr/bin/vhclient -t list | awk '{ if ($1 ~ /\*-->/) { print substr($0, 8, index($0, ")") - 7 ) } }'
/usr/bin/vhclient -t list | awk '{ if ($1 ~ /\*-->/) { print substr($0, 8, index($0, "(In-use by you)") - 9 ) } }'