From 32328bac8ff37e6793ac265682c56071966920b9 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Fri, 21 Jul 2023 18:44:14 +0200 Subject: [PATCH] changed Files: config_hex.grote.lan.rsc config_rb5009.grote.lan.rsc x Signed-off-by: Michael Grote --- config_hex.grote.lan.rsc | 2 +- config_rb5009.grote.lan.rsc | 2 +- x | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/config_hex.grote.lan.rsc b/config_hex.grote.lan.rsc index de5533d..ed8e759 100644 --- a/config_hex.grote.lan.rsc +++ b/config_hex.grote.lan.rsc @@ -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 # # model = RB750Gr3 diff --git a/config_rb5009.grote.lan.rsc b/config_rb5009.grote.lan.rsc index 5483579..07aa2c4 100644 --- a/config_rb5009.grote.lan.rsc +++ b/config_rb5009.grote.lan.rsc @@ -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 # # model = RB5009UG+S+ diff --git a/x b/x index 665da65..7db6f14 100644 --- a/x +++ b/x @@ -31,7 +31,9 @@ while read -r fqdn path; do fqdn=$(echo $fqdn | tr -d "[:space:]") ssh -n -i ${path} ${fqdn} "/export show-sensitive" > config_${fqdn}.rsc + echo add git add config_${fqdn}.rsc + echo commit git commit -m update config_${fqdn} done <<< "$devices"