mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-03-19 14:22:08 +01:00
publipool - fix local ip
This commit is contained in:
parent
3da6db91d0
commit
c0418499e2
@ -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)')
|
||||
|
||||
if [ "${isInstalled}" == "1" ]; then
|
||||
loca lIP=$(hostname -I | awk '{print $1}')
|
||||
localIP=$(hostname -I | awk '{print $1}')
|
||||
fi
|
||||
|
||||
if [ "$1" = "status" ]; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user