dont i hate how initd respawns anyway. why so Fucking Ass
release / build (push) Successful in 53s

This commit is contained in:
lda
2025-08-31 05:18:32 +07:00 Unverified
parent eeff4ebe1a
commit 1a94cdb32c
7 changed files with 30 additions and 24 deletions
+5 -1
View File
@@ -8,6 +8,11 @@ elif [ -f /rom/etc/resolv.conf ]; then
cp -af /rom/etc/resolv.conf /etc/resolv.conf
fi
if [ -x "$(which tailscale)" ]; then
tailscale update
exit 0
fi
# 1. Fetch the latest version number from Tailscale's site
LATEST=$(curl -s https://pkgs.tailscale.com/stable/ | grep -Eo 'tailscale_[0-9\.]+_arm.tgz' | head -n1)
@@ -20,7 +25,6 @@ URL="https://pkgs.tailscale.com/stable/${LATEST}"
cd /var/tmp
if [ -f "$LATEST" ]; then
echo "file exists"
rm "$LATEST"