Update setup
This commit is contained in:
@@ -41,7 +41,16 @@ sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/too
|
||||
|
||||
# Setup Tailscale
|
||||
echo '### Setting up Tailscale ###'
|
||||
if ! command -v tailscale > /dev/null 2>&1; then
|
||||
printf "Do you want to install and setup Tailscale? [Y/n] "
|
||||
read choice
|
||||
case "$choice" in
|
||||
n|N|no|No|NO )
|
||||
echo "Skipping Tailscale setup."
|
||||
;;
|
||||
* )
|
||||
if ! command -v tailscale > /dev/null 2>&1; then
|
||||
curl -fsSL https://tailscale.com/install.sh | sh
|
||||
sudo tailscale up
|
||||
fi
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
Reference in New Issue
Block a user