adjust to nixos 21.05
This commit is contained in:
parent
454aa6e386
commit
1242a8e215
14 changed files with 145 additions and 173 deletions
12
services/home-ch/router-family.lan/Justfile
Normal file
12
services/home-ch/router-family.lan/Justfile
Normal file
|
@ -0,0 +1,12 @@
|
|||
_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 luci-app-ddns"
|
||||
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 kmod-usb-storage-uas kmod-fs-btrfs btrfs-progs"
|
||||
# multiuser SFTP
|
||||
just -v _run_ssh_cmd "opkg install openssh-server openssh-sftp-server"
|
||||
just -v _run_ssh_cmd "opkg install sudo coreutils-readlink"
|
||||
just -v _run_ssh_cmd "/etc/init.d/uhttpd restart"
|
Loading…
Add table
Add a link
Reference in a new issue