Skip to content

Commit

Permalink
Update pgscan.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
MrDoobPG authored Dec 28, 2019
1 parent ff8d047 commit 45d2eb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion menu/pgscan/pgscan.sh
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ RAN=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1)
echo $RAN >/var/plexguide/pgscan/pgscan.serverpass
}
ippart() {
vs="local"
vs=$(cat /var/plexguide/pg.transport)
if [[ "$vs" != "local" ]]; then
wget -qO- http://ipecho.net/plain | xargs echo >/var/plexguide/pgscan/pgscan.ip
else cp -r /var/plexguide/server.ip /var/plexguide/pgscan/pgscan.ip; fi
Expand Down

0 comments on commit 45d2eb3

Please sign in to comment.