更新 simpleupdates/scripts/update_tailscale.sh

This commit is contained in:
sky 2024-12-12 23:06:07 +08:00
parent f083d69aa5
commit 3365f2dc4e

View File

@ -5,8 +5,8 @@
GITEA_HOST="code.060070.xyz"
GITUSER="sky"
REPONAME="simple-admin"
GITTREE="beta"
GITMAINTREE="beta"
GITTREE="beta-curl"
GITMAINTREE="beta-curl"
GITDEVTREE="dev"
# Construct Gitea URLs
@ -64,8 +64,8 @@ export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/opt/bin:/opt/sbin:/usrdata/root/bin
GITEA_HOST="code.060070.xyz"
GITUSER="sky"
REPONAME="simple-admin"
GITTREE="beta"
GITMAINTREE="beta"
GITTREE="beta-curl"
GITMAINTREE="beta-curl"
GITDEVTREE="dev"
# Construct Gitea URLs
@ -109,8 +109,8 @@ install_update_tailscale() {
rm -rf /usrdata/tailscale_1.78.1_arm
echo "Downloading systemd files..."
cd "$TAILSCALE_SYSD_DIR"
curl -O $GITROOT/tailscale/systemd/tailscaled.service
curl -O $GITROOT/tailscale/systemd/tailscaled.defaults
curl -O "$GITROOT/tailscale/systemd/tailscaled.service"
curl -O "$GITROOT/tailscale/systemd/tailscaled.defaults"
sleep 2s
echo "Setting Permissions..."
chmod +x "$TAILSCALE_DIR/tailscaled" "$TAILSCALE_DIR/tailscale"