diff --git a/_tools/agi-bin/getip.sh b/_tools/agi-bin/getip.sh index fae865f..0aa4288 100644 --- a/_tools/agi-bin/getip.sh +++ b/_tools/agi-bin/getip.sh @@ -1,2 +1,2 @@ #!/bin/bash -echo SET VARIABLE result `hostname -I` +echo SET VARIABLE result `hostname -I | cut -f1 -d' '`