Last change
on this file since 5003 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 | #
|
---|
6 | config_dir="/home/genesis/nodes"
|
---|
7 |
|
---|
8 | if [ $2 ]; then
|
---|
9 | nodes=$2
|
---|
10 | else
|
---|
11 | nodes=`find $config_dir/*/wleiden.conf | grep -e 'CNode'`
|
---|
12 | fi
|
---|
13 |
|
---|
14 | case $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 | ;;
|
---|
25 | esac
|
---|
Note:
See
TracBrowser
for help on using the repository browser.