From a9ded6b2aa0695585d31fd4efa957f07507eab8f Mon Sep 17 00:00:00 2001 From: Stefan Junker Date: Tue, 8 Jun 2021 14:34:17 +0200 Subject: [PATCH] routers: add new and adjust justfiles --- services/home-ch/router-family.lan/Justfile | 2 +- services/home-ch/router-wan.dmz/Justfile | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 services/home-ch/router-wan.dmz/Justfile diff --git a/services/home-ch/router-family.lan/Justfile b/services/home-ch/router-family.lan/Justfile index 3715bfa..c599600 100644 --- a/services/home-ch/router-family.lan/Justfile +++ b/services/home-ch/router-family.lan/Justfile @@ -1,5 +1,5 @@ _run_ssh_cmd cmd: - ssh root@router-wan.lan "{{cmd}}" + ssh root@router-family.lan "{{cmd}}" post-setup: just -v _run_ssh_cmd "opkg update" diff --git a/services/home-ch/router-wan.dmz/Justfile b/services/home-ch/router-wan.dmz/Justfile new file mode 100644 index 0000000..921adb4 --- /dev/null +++ b/services/home-ch/router-wan.dmz/Justfile @@ -0,0 +1,9 @@ +_run_ssh_cmd cmd: + ssh root@router-wan.dmz "{{cmd}}" + +post-setup: + just -v _run_ssh_cmd "opkg update" + just -v _run_ssh_cmd "opkg install luci-ssl" + just -v _run_ssh_cmd "opkg install luci-app-mwan3" + # multiuser SFTP + just -v _run_ssh_cmd "/etc/init.d/uhttpd restart"