jablonka.czprosek.czf

netmap

Subversion Repositories:
[/] [gen_stats_ospf] - Blame information for rev 17

 

Line No. Rev Author Line
11simandl#!/bin/sh
2 
3# (c)2003 by Jan Krupa (krupaj@mobilnews.cz)
4# http://www.mobilnews.cz/honza/
5 
6PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/bin/X11:/usr/X11R6/bin:/root/bin
7export PATH
8 
9STATS_PATH=/home/www/cgi-bin/netmap
10STATS_PATH_DATA=$STATS_PATH/data
11 
12NAME="jablonecka"
13DATABASE=$STATS_PATH/data/$NAME.link
14 
15$STATS_PATH/gen_ospf_link.pl > $DATABASE.ospf
16cat $DATABASE.basic > $DATABASE
17cat $DATABASE.ospf >> $DATABASE
18 
19 
20for LINE in `/bin/ls -1 $STATS_PATH_DATA | /bin/grep .config`; do
21 $STATS_PATH/gen_onestatpict `/bin/echo $LINE | /bin/awk -F. '{ printf "%s", $1 }'` &>/dev/null
22done
23 
2417simandlconvert /home/www/html/netmap/out/jablonecka.png -resize 160x95 /home/www/html/wm/images/prosek_netmap.png

Powered by WebSVN 2.2.1