routers: add new and adjust justfiles
This commit is contained in:
parent
1242a8e215
commit
a9ded6b2aa
2 changed files with 10 additions and 1 deletions
9
services/home-ch/router-wan.dmz/Justfile
Normal file
9
services/home-ch/router-wan.dmz/Justfile
Normal 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"
|
Loading…
Add table
Add a link
Reference in a new issue