Skip to content

Commit

Permalink
Finally fixed IP display
Browse files Browse the repository at this point in the history
Finally fixed IP display
  • Loading branch information
gta-online-nginx committed Dec 22, 2013
1 parent 174e484 commit 09a80b2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file modified DownloadThisZipFile.zip
Binary file not shown.
2 changes: 1 addition & 1 deletion install
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ iptables -A INPUT -p udp --dport 53 -j ACCEPT
echo nameserver 4.2.2.1 >/etc/resolv.conf
echo nameserver 4.2.2.2 >>/etc/resolv.conf
echo
echo "Your DNS server's public IP is: "`curl -4 ifconfig.me`
echo "Your DNS server's public IP is: "$IP
echo "Your DNS server's eth0 IP is: "`/sbin/ifconfig eth0 | grep 'inet addr:' | cut -d: -f2 | awk '{ print $1}'`

0 comments on commit 09a80b2

Please sign in to comment.