source: genesis/tools/run.sh@ 4310

Last change on this file since 4310 was 4092, checked in by rick, 20 years ago

Tooltje om snel alle configs op te schonen en netjes te zetten

  • Property svn:executable set to *
File size: 470 bytes
Line 
1#!/bin/sh
2#
3#Heel simpel scriptje om de perl scripts te laten draaien over alle
4#config files
5#
6config_dir="/home/genesis/nodes"
7
8if [ $2 ]; then
9 nodes=$2
10else
11 nodes=`find $config_dir/*/wleiden.conf | grep -e 'CNode'`
12fi
13
14case $1 in
15 cleanconfigs)
16 perl $main_path/configcleaner.pl $nodes
17 ;;
18 help)
19 echo "$0 cleanconfigs, Cleanup all configs"
20 echo "$0 help, you are reading this right now"
21 ;;
22 *)
23 echo "Usage $0 [cleanconfigs]"
24 ;;
25esac
Note: See TracBrowser for help on using the repository browser.