changed Files: config_hex.grote.lan.rsc
config_rb5009.grote.lan.rsc x Signed-off-by: Michael Grote <michael.grote@posteo.de>
This commit is contained in:
parent
eb5b3382e1
commit
32328bac8f
3 changed files with 4 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
# 2023-07-21 18:42:19 by RouterOS 7.10
|
# 2023-07-21 18:43:40 by RouterOS 7.10
|
||||||
# software id = NPZE-DVQU
|
# software id = NPZE-DVQU
|
||||||
#
|
#
|
||||||
# model = RB750Gr3
|
# model = RB750Gr3
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# 2023-07-21 18:42:18 by RouterOS 7.10
|
# 2023-07-21 18:43:35 by RouterOS 7.10
|
||||||
# software id = 56R5-PRTF
|
# software id = 56R5-PRTF
|
||||||
#
|
#
|
||||||
# model = RB5009UG+S+
|
# model = RB5009UG+S+
|
||||||
|
|
2
x
2
x
|
@ -31,7 +31,9 @@ while read -r fqdn path; do
|
||||||
fqdn=$(echo $fqdn | tr -d "[:space:]")
|
fqdn=$(echo $fqdn | tr -d "[:space:]")
|
||||||
|
|
||||||
ssh -n -i ${path} ${fqdn} "/export show-sensitive" > config_${fqdn}.rsc
|
ssh -n -i ${path} ${fqdn} "/export show-sensitive" > config_${fqdn}.rsc
|
||||||
|
echo add
|
||||||
git add config_${fqdn}.rsc
|
git add config_${fqdn}.rsc
|
||||||
|
echo commit
|
||||||
git commit -m update config_${fqdn}
|
git commit -m update config_${fqdn}
|
||||||
done <<< "$devices"
|
done <<< "$devices"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue