From a415bd0638ad1a367135c9d1a3798c5b86f357e0 Mon Sep 17 00:00:00 2001 From: root Date: Sat, 13 Jun 2015 09:40:35 -0400 Subject: [PATCH] add new way to get IPV4 --- scripts/install | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index 7d46e62..7475ad4 100755 --- a/scripts/install +++ b/scripts/install @@ -1,7 +1,8 @@ #!/bin/bash # Retrieve arguments -ipv4=$(ifconfig | grep "inet addr:" | sed '1!d' | cut -d : -f 2 | cut -b -14) +#ipv4=$(ifconfig | grep "inet addr:" | sed '1!d' | cut -d : -f 2 | cut -b -14) +#ipv4=$(traceroute -4 maelstro.me | grep ms | cut -d " " -f 4) domain=$1 port=$2 sync_node=$3