source: genesis/tools/run.sh@ 7885

Last change on this file since 7885 was 4317, checked in by dirkx, 20 years ago

Fixing line types

  • Property svn:eol-style set to native
  • 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.