#!/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-
WebSVN
- hotsanic
- Blame
- Rev 16
- /trunk/modules/bgp/bgpd_bg
hotsanic |
Subversion Repositories: |
[/] [trunk/] [modules/] [bgp/] [bgpd_bg] - Blame information for rev 16
Powered by WebSVN 2.2.1