更新 simpleupdates/scripts/update_tailscale.sh
This commit is contained in:
parent
f083d69aa5
commit
3365f2dc4e
@ -5,8 +5,8 @@
|
|||||||
GITEA_HOST="code.060070.xyz"
|
GITEA_HOST="code.060070.xyz"
|
||||||
GITUSER="sky"
|
GITUSER="sky"
|
||||||
REPONAME="simple-admin"
|
REPONAME="simple-admin"
|
||||||
GITTREE="beta"
|
GITTREE="beta-curl"
|
||||||
GITMAINTREE="beta"
|
GITMAINTREE="beta-curl"
|
||||||
GITDEVTREE="dev"
|
GITDEVTREE="dev"
|
||||||
|
|
||||||
# Construct Gitea URLs
|
# 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"
|
GITEA_HOST="code.060070.xyz"
|
||||||
GITUSER="sky"
|
GITUSER="sky"
|
||||||
REPONAME="simple-admin"
|
REPONAME="simple-admin"
|
||||||
GITTREE="beta"
|
GITTREE="beta-curl"
|
||||||
GITMAINTREE="beta"
|
GITMAINTREE="beta-curl"
|
||||||
GITDEVTREE="dev"
|
GITDEVTREE="dev"
|
||||||
|
|
||||||
# Construct Gitea URLs
|
# Construct Gitea URLs
|
||||||
@ -109,8 +109,8 @@ install_update_tailscale() {
|
|||||||
rm -rf /usrdata/tailscale_1.78.1_arm
|
rm -rf /usrdata/tailscale_1.78.1_arm
|
||||||
echo "Downloading systemd files..."
|
echo "Downloading systemd files..."
|
||||||
cd "$TAILSCALE_SYSD_DIR"
|
cd "$TAILSCALE_SYSD_DIR"
|
||||||
curl -O $GITROOT/tailscale/systemd/tailscaled.service
|
curl -O "$GITROOT/tailscale/systemd/tailscaled.service"
|
||||||
curl -O $GITROOT/tailscale/systemd/tailscaled.defaults
|
curl -O "$GITROOT/tailscale/systemd/tailscaled.defaults"
|
||||||
sleep 2s
|
sleep 2s
|
||||||
echo "Setting Permissions..."
|
echo "Setting Permissions..."
|
||||||
chmod +x "$TAILSCALE_DIR/tailscaled" "$TAILSCALE_DIR/tailscale"
|
chmod +x "$TAILSCALE_DIR/tailscaled" "$TAILSCALE_DIR/tailscale"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user