mirror of
https://github.com/Retropex/raspiblitz.git
synced 2025-05-12 19:20:48 +02:00
publipool - fix local ip
This commit is contained in:
parent
fd2d369264
commit
f771465338
@ -35,7 +35,7 @@ isInstalled=$(sudo ls /etc/systemd/system/${APPID}.service 2>/dev/null | grep -c
|
|||||||
isRunning=$(sudo systemctl status ${APPID} 2>/dev/null | grep -c 'active (running)')
|
isRunning=$(sudo systemctl status ${APPID} 2>/dev/null | grep -c 'active (running)')
|
||||||
|
|
||||||
if [ "${isInstalled}" == "1" ]; then
|
if [ "${isInstalled}" == "1" ]; then
|
||||||
loca lIP=$(hostname -I | awk '{print $1}')
|
localIP=$(hostname -I | awk '{print $1}')
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$1" = "status" ]; then
|
if [ "$1" = "status" ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user