#!/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.1
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/bin/X11:/usr/X11R6/bin:/root/bin
export PATH
for file in `/bin/ls *.txt`; do
name=`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.comp
echo "92;OSPF linky online;" > $name.legend
echo "CZFree.Net cloud $name;800;600;3;" > $name.config
done
WebSVN
- netmap
- Blame
- Rev 1
- /connection/gen_ospf_configs
netmap |
Subversion Repositories: |
[/] [connection/] [gen_ospf_configs] - Blame information for rev 1
Powered by WebSVN 2.2.1