scripts/installer.sh: add FreeBSD 14 (#14925)

Fixes #14745

Also adds --yes to pkg to match other package managers

Signed-off-by: Erisa A <erisa@tailscale.com>
This commit is contained in:
Erisa A 2025-02-06 16:32:51 +00:00 committed by GitHub
parent d08f830d50
commit 431216017b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -390,7 +390,8 @@ main() {
;; ;;
freebsd) freebsd)
if [ "$VERSION" != "12" ] && \ if [ "$VERSION" != "12" ] && \
[ "$VERSION" != "13" ] [ "$VERSION" != "13" ] && \
[ "$VERSION" != "14" ]
then then
OS_UNSUPPORTED=1 OS_UNSUPPORTED=1
fi fi
@ -572,7 +573,7 @@ main() {
;; ;;
pkg) pkg)
set -x set -x
$SUDO pkg install tailscale $SUDO pkg install tailscale --yes
$SUDO service tailscaled enable $SUDO service tailscaled enable
$SUDO service tailscaled start $SUDO service tailscaled start
set +x set +x