This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Setup Tailscale + Taildrive on a Linux machine | |
| # Installs Tailscale if missing, shares root drive, mounts WebDAV | |
| # Run as root or with sudo | |
| # | |
| # Usage: curl -sL <gist-url>/raw | sudo bash | |
| set -e | |
| MOUNT_POINT="/mnt/taildrive" |