routers: add new and adjust justfiles

This commit is contained in:
steveej 2021-06-08 14:34:17 +02:00
parent 1242a8e215
commit a9ded6b2aa
2 changed files with 10 additions and 1 deletions

View file

@ -1,5 +1,5 @@
_run_ssh_cmd cmd: _run_ssh_cmd cmd:
ssh root@router-wan.lan "{{cmd}}" ssh root@router-family.lan "{{cmd}}"
post-setup: post-setup:
just -v _run_ssh_cmd "opkg update" just -v _run_ssh_cmd "opkg update"

View file

@ -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"