mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
luci-app-ouad
This commit is contained in:
parent
210e628655
commit
714452709f
33 changed files with 3018 additions and 3528 deletions
8
luci-app-ouad/root/usr/sbin/status_server.sh
Executable file
8
luci-app-ouad/root/usr/sbin/status_server.sh
Executable file
|
|
@ -0,0 +1,8 @@
|
|||
#!/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
|
||||
Loading…
Add table
Add a link
Reference in a new issue