jablonka.czprosek.czf

hotsanic

Subversion Repositories:
[/] [trunk/] [modules/] [bgp/] [bgpd_bg] - Rev 36 Go to most recent revision

Compare with Previous - Blame - Download


#!/bin/bash
#do cronu
#* * * * *       /opt/HotSaNIC/modules/bgp/bgpd_bg 2>/dev/null > /tmp/bgpnew.txt ; mv -f /tmp/bgpnew.txt /tmp/bgp.txt
password=ahoj
(echo $password; \
# echo show ru; \
# echo quit; \
# echo show ip bg ne; \
# echo show ip bg su; \
 echo show ip bg; \
 echo exit) | nc localhost 2605 | grep -v assword | grep "^\*" | cut -b 4-20,62-


Powered by WebSVN 2.2.1