Browse Source

local ip

#146
rootzoll 7 years ago
parent
commit
f97b2f4136
  1. 2
      home.admin/97addMobileWalletShango.sh

2
home.admin/97addMobileWalletShango.sh

@ -6,7 +6,7 @@ echo "*** Setup ***"
sudo apt-get install qrencode -y
# get local IP
myip="ifconfig | sed -En 's/127.0.0.1//;s/.*inet (addr:)?(([0-9]*\.){3}[0-9]*).*/\2/p'"
myip=$(ifconfig | sed -En 's/127.0.0.1//;s/.*inet (addr:)?(([0-9]*\.){3}[0-9]*).*/\2/p')
clear
echo "******************************"

Loading…
Cancel
Save