mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
8 lines
No EOL
186 B
Bash
Executable file
8 lines
No EOL
186 B
Bash
Executable file
#!/bin/sh
|
|
|
|
public_ip=$(uci -q get openmptcprouter.omr.detected_public_ipv4 | tr -d "\n")
|
|
if [ -n "$public_ip" ]; then
|
|
echo "IP: ${public_ip}"
|
|
else
|
|
echo "Waiting for server..."
|
|
fi |