Update use device on/off
This commit is contained in:
@@ -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 ) } }'
|
||||
|
||||
Reference in New Issue
Block a user