commit | c7e9a461becdbb25646426b38e80d338787618e8 | [log] [tgz] |
---|---|---|
author | buyingyi <buyingyi@123451ca-8445-de46-9d55-352943316053> | Fri Oct 19 03:35:58 2012 +0000 |
committer | buyingyi <buyingyi@123451ca-8445-de46-9d55-352943316053> | Fri Oct 19 03:35:58 2012 +0000 |
tree | 71059760c1a5c35e80cdcacdb8cb578b1a6863d1 | |
parent | 38ba4080ced1f2314b30e6836a5a29d1c43344d5 [diff] |
fix the startnc script for IPv6 git-svn-id: https://hyracks.googlecode.com/svn/branches/fullstack_staging@2137 123451ca-8445-de46-9d55-352943316053
diff --git a/pregelix-core/src/main/resources/scripts/startnc.sh b/pregelix-core/src/main/resources/scripts/startnc.sh index 779666d..db86d37 100644 --- a/pregelix-core/src/main/resources/scripts/startnc.sh +++ b/pregelix-core/src/main/resources/scripts/startnc.sh
@@ -37,7 +37,7 @@ #Get IP Address IPADDR=`/sbin/ifconfig eth0 | grep "inet addr" | awk '{print $2}' | cut -f 2 -d ':'` else - IPADDR=`/sbin/ifconfig en1 | grep "inet" | awk '{print $2}' | cut -f 2 -d ':'` + IPADDR=`/sbin/ifconfig en1 | grep "inet " | awk '{print $2}' | cut -f 2 -d ':'` fi #Get node ID