source: genesis/nodes/ip2node.sh@ 8259

Last change on this file since 8259 was 5334, checked in by rick, 18 years ago

3 total different ways of making the ip -> nodename link

  • Property svn:eol-style set to native
  • Property svn:executable set to *
  • Property svn:mime-type set to text/plain
File size: 239 bytes
Line 
1#!/bin/sh
2for file in `echo CNode* proxy*`
3do
4 cat $file/wleiden.conf | grep ^IP | grep -v master |\
5 sed "s#IP=\(.*\)/.*#\1|$file#"
6 cat $file/wleiden.conf | grep '^$master' |\
7 sed "s#\$master_ip='\(.*\)';#\1|$file#"
8done
Note: See TracBrowser for help on using the repository browser.