Adding pkg for Freebsd installation

Signed-off-by: Sofiane Hamlaoui <s0fianehaml40u1@gmail.com>
This commit is contained in:
Sofiane Hamlaoui 2022-06-20 08:43:07 +02:00 committed by Denton Gentry
parent 51cc0e503b
commit 1007983159

View File

@ -506,6 +506,13 @@ main() {
$SUDO systemctl enable --now tailscaled
set +x
;;
pkg)
set -x
$SUDO pkg install tailscale
$SUDO service tailscaled enable
$SUDO service tailscaled start
set +x
;;
apk)
set -x
$SUDO apk add tailscale