jablonka.czprosek.czf

netmap

Subversion Repositories:
[/] [gen_stats_ospf] - Diff between revs 119 and 120

Show entire file Ignore whitespace

Rev 119 Rev 120
Line 30... Line 30...
mv $DATABASE.ospfA $DATABASE.ospf mv $DATABASE.ospfA $DATABASE.ospf
fi fi
# jgw is the Full/DR one # jgw is the Full/DR one
grep -E '92;jab715;jgw|92;jabu;jgw|92;hasit;jgw' $DATABASE.ospf >/dev/null 2>&1 grep -E '92;jab715;jgw|92;jabu;jgw|92;hasit;jgw' $DATABASE.ospf >/dev/null 2>&1
if [ $? -eq 0 ]; then if [ $? -eq 0 ]; then
cat $DATABASE.ospf | grep -Ev '82;jabu;sitelka;|82;jabu;ogw;|82;hasit;sitelka|82;ogw;hasit;|82;jab715;sitelka;|82;jab715;ogw;' > $DATABASE.ospfA cat $DATABASE.ospf | grep -Ev '82;jabu;sitelka;|82;jabu;ogw;|82;hasit;sitelka|82;hasit;ogw;|82;jab715;sitelka;|82;jab715;ogw;|82;hasit;jab715;' > $DATABASE.ospfA
mv $DATABASE.ospfA $DATABASE.ospf mv $DATABASE.ospfA $DATABASE.ospf
fi fi
# ogw is the Full/DR one # ogw is the Full/DR one
grep -E '92;jab715;ogw|92;jabu;ogw|92;ogw;hasit' $DATABASE.ospf >/dev/null 2>&1 grep -E '92;jab715;ogw|92;jabu;ogw|92;ogw;hasit' $DATABASE.ospf >/dev/null 2>&1
if [ $? -eq 0 ]; then if [ $? -eq 0 ]; then

Powered by WebSVN 2.2.1