projects
/
dell-switch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
895198a
)
copy running-config startup-config
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Wed, 6 Apr 2022 18:38:10 +0000
(20:38 +0200)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Wed, 6 Apr 2022 18:38:10 +0000
(20:38 +0200)
ssh-switch-write
[new file with mode: 0755]
patch
|
blob
diff --git a/ssh-switch-write
b/ssh-switch-write
new file mode 100755
(executable)
index 0000000..
83f047c
--- /dev/null
+++ b/
ssh-switch-write
@@ -0,0
+1,6
@@
+#!/bin/sh -xe
+
+test -z "$1" && echo "Usage: $0 sw-aula " && exit 1
+
+sw=$1
+NO_LOG=1 ./dell-switch.pl $sw 'copy running-config startup-config'