parent
8863e61e8e
commit
5e0fe8ba3f
|
@ -2,7 +2,7 @@
|
||||||
# Get admin tool port from configuration
|
# Get admin tool port from configuration
|
||||||
bind_port=$(grep bind_port $SNAP_DATA/AdGuardHome.yaml | awk -F ' ' '{print $2}')
|
bind_port=$(grep bind_port $SNAP_DATA/AdGuardHome.yaml | awk -F ' ' '{print $2}')
|
||||||
|
|
||||||
if [ -z "$bind_port"]; then
|
if [ -z "$bind_port" ]; then
|
||||||
xdg-open http://localhost:3000
|
xdg-open http://localhost:3000
|
||||||
else
|
else
|
||||||
xdg-open http://localhost:$bind_port
|
xdg-open http://localhost:$bind_port
|
||||||
|
|
Loading…
Reference in New Issue