Skip to content

Commit

Permalink
update getip.sh to return only IPV4 addresses
Browse files Browse the repository at this point in the history
  • Loading branch information
davidgsd committed Mar 3, 2025
1 parent c1c7347 commit ac059f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _tools/agi-bin/getip.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/bin/bash
echo SET VARIABLE result `hostname -I`
echo SET VARIABLE result `hostname -I | cut -f1 -d' '`

0 comments on commit ac059f1

Please sign in to comment.