svc/home-ch/router-wan.lan: add post-setup script recipe
This commit is contained in:
parent
8ce1ea2e9d
commit
e3e0859ee6
4 changed files with 8 additions and 16 deletions
8
services/home-ch/router-wan.lan/Justfile
Normal file
8
services/home-ch/router-wan.lan/Justfile
Normal file
|
@ -0,0 +1,8 @@
|
|||
_run_ssh_cmd cmd:
|
||||
ssh root@router-wan.lan "{{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-samba samba36-server"
|
||||
just -v _run_ssh_cmd "opkg install block-mount blockd kmod-fs-vfat kmod-usb-storage usbutils"
|
Loading…
Add table
Add a link
Reference in a new issue