read commands from STDIN if used as pipe
[dell-switch] / ssh-snmp-server-rw
1 #!/bin/sh -xe
2
3 . ./snmp.conf
4 NO_LOG=1 ./dell-switch.pl $1 'configure' "snmp-server community $COMMUNITY rw 10.20.0.216 view Default" 'exit'