made ip module only show one address - fixed

main
The_miro 2025-03-29 16:46:32 +01:00
parent 7328523865
commit 9f89f4ae28
2 changed files with 4 additions and 1 deletions

View File

@ -89,7 +89,7 @@
(defpoll IP :interval "20s" (defpoll IP :interval "20s"
"hostname -i | tr ' ' '\n' | head -n1 | tail -n1") "scripts/ip")
(defpoll volume :interval "0.5s" (defpoll volume :interval "0.5s"
"scripts/getvol") "scripts/getvol")

View File

@ -0,0 +1,3 @@
#!/bin/bash
hostname -i | tr ' ' '\n' | head -n1 | tail -n1