read commands from STDIN if used as pipe
[dell-switch] / ssh-switch-port-shutdown
1 #!/bin/sh -xe
2
3 NO_LOG=1 ./dell-switch.pl $1 'configure' "interface ethernet g$2" "$3 shutdown" 'exit' 'exit'