jablonka.czprosek.czf

netmap

Subversion Repositories:
[/] [connection/] [gen_ospf_configs] - Blame information for rev 125

 

Line No. Rev Author Line
11simandl#!/bin/sh
2# (c)2006 by Petr Simandl
3# http://www.simandl.cz/
4# license: GPL
5 
6# generating basic config files for calstats from *.txt ospf databases
7# using gen_ospf_config.pl script
8 
9# version: 0.0.1
10 
11PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/bin/X11:/usr/X11R6/bin:/root/bin
12export PATH
13 
14for file in `/bin/ls *.txt`; do
15 name=`echo $file | sed 's/.txt//'`
16 echo $name
17 ./gen_ospf_config.pl $name | grep ^92 > $name.link
18 ./gen_ospf_config.pl $name | grep -v ^92 > $name.comp
19 echo "92;OSPF linky online;" > $name.legend
20 echo "CZFree.Net cloud $name;800;600;3;" > $name.config
21done
22 

Powered by WebSVN 2.2.1