2019-07-17 09:47:27 +02:00
|
|
|
_run_ssh_cmd cmd:
|
|
|
|
ssh root@router-wan.lan "{{cmd}}"
|
|
|
|
|
|
|
|
post-setup:
|
|
|
|
just -v _run_ssh_cmd "opkg update"
|
2020-12-30 09:10:30 +01:00
|
|
|
just -v _run_ssh_cmd "opkg install luci-ssl luci-app-ddns"
|
2019-07-17 09:47:27 +02:00
|
|
|
just -v _run_ssh_cmd "opkg install luci-app-samba samba36-server"
|
2020-12-30 09:10:30 +01:00
|
|
|
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"
|
2020-02-10 14:09:36 +01:00
|
|
|
just -v _run_ssh_cmd "/etc/init.d/uhttpd restart"
|