Update use device on/off

This commit is contained in:
Hans Karlinius
2025-06-07 06:54:21 +02:00
parent dba1529139
commit 7e63143c91
3 changed files with 3 additions and 31 deletions
@@ -1,3 +0,0 @@
#!/command/with-contenv bashio
/usr/bin/vhclient -t "server info,$1" | awk '{ if ($0 ~ /SERIAL NUMBER/) { print $3 } }'
@@ -1,3 +0,0 @@
#!/command/with-contenv bashio
/usr/bin/vhclient -t "device info,$1" | awk '{ if ($0 ~ /PRODUCT ID/) { p=$3 } if ($0 ~ /VENDOR ID/) { v=$3 } } END { printf("%d.%d",p,v) }'