Changeset 7927 in genesis
- Timestamp:
- May 16, 2010, 2:09:34 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
nodes/dubbelipcheck.sh
r7545 r7927 18 18 19 19 master_ips=`cat $files | grep '^$master_ip' |\ 20 sed -e 's/ $master_ip='\''//' -e 's/'\'\;'//'`20 sed -e 's/[^0-9]*\([0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}\).*$/\1/'` 21 21 link_ips=`cat $files | grep ^IP | grep -v '$master_ip' |\ 22 sed -e 's/IP=//' -e 's/\/[0-9]*//' `22 sed -e 's/IP=//' -e 's/\/[0-9]*//' -e 's/[[:space:]]*$//'` 23 23 echo "$master_ips $link_ips" | sort 24 24 echo "$master_ips $link_ips" | sort > $TMPDIR/all_ips
Note:
See TracChangeset
for help on using the changeset viewer.