mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
First version for oled
This commit is contained in:
parent
61b9901edb
commit
6fa256c456
10 changed files with 364 additions and 172 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