source: genesis/tools/ip2node.sh@ 8687

Last change on this file since 8687 was 8615, checked in by rick, 14 years ago

Bezempje door alle files. Rommel weg. Tooljes op de juiste locatie.

  • 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.