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
|
# Setup Tailscale
|
||||||
echo '### Setting up 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] "
|
||||||
curl -fsSL https://tailscale.com/install.sh | sh
|
read choice
|
||||||
sudo tailscale up
|
case "$choice" in
|
||||||
fi
|
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
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|||||||
Reference in New Issue
Block a user