From 99a0be0268de32e207ae1349f1c106bbcfc50502 Mon Sep 17 00:00:00 2001 From: Joey Hafner Date: Tue, 14 Feb 2023 16:59:19 -0800 Subject: [PATCH] Init config script --- homelab/router/scripts/edit_config.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 homelab/router/scripts/edit_config.sh diff --git a/homelab/router/scripts/edit_config.sh b/homelab/router/scripts/edit_config.sh new file mode 100644 index 00000000..518a9219 --- /dev/null +++ b/homelab/router/scripts/edit_config.sh @@ -0,0 +1,8 @@ +#!/bin/vbash +# https://docs.vyos.io/en/equuleus/automation/command-scripting.html +source /opt/vyatta/etc/functions/script-template + +cp /config/config.boot /config/config.new +nano /config/config.new +configure +load /config/config.new