* switch backup from wasabi-s3 to btrfs via ssh * add srv0 at home * run webserver and syncthing at home
12 lines
573 B
Makefile
12 lines
573 B
Makefile
_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"
|