![]() ![]() |
netmap |
Subversion Repositories: |
Compare with Previous - Blame - Download
#!/bin/sh# (c)2006 by Petr Simandl# http://www.simandl.cz/# license: GPL# generating basic config files for calstats from *.txt ospf databases# using gen_ospf_config.pl script# version: 0.0.1PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/bin/X11:/usr/X11R6/bin:/root/binexport PATHfor file in `/bin/ls *.txt`; doname=`echo $file | sed 's/.txt//'`echo $name./gen_ospf_config.pl $name | grep ^92 > $name.link./gen_ospf_config.pl $name | grep -v ^92 > $name.compecho "92;OSPF linky online;" > $name.legendecho "CZFree.Net cloud $name;800;600;3;" > $name.configdone