Files
home-assistant-addons/vhclient/rootfs/usr/bin/vh_server_serial_number
T
2025-06-06 14:18:42 +02:00

4 lines
121 B
Plaintext
Executable File

#!/command/with-contenv bashio
/usr/bin/vhclient -t "server info,$1" | awk '{ if ($0 ~ /SERIAL NUMBER/) { print $3 } }'