deploy fix i think idk

if i still dont release then it will still loop
This commit is contained in:
lda
2025-08-29 07:19:06 +07:00 Unverified
parent 5782f7f315
commit e26d893e5f
3 changed files with 8 additions and 5 deletions
+3 -2
View File
@@ -12,8 +12,9 @@ USE_PROCD=1
start_service() {
procd_open_instance
procd_set_param command /etc/ldlda_help/update_tailscale.sh
procd_set_param respawn 0 0 0
procd_set_param command /bin/sh -c \
'while ! /etc/ldlda_help/update_tailscale.sh; do sleep 5; done'
# procd_set_param respawn 0 0 0
procd_set_param stdout 1
procd_set_param stderr 1
procd_close_instance
+3 -2
View File
@@ -2,14 +2,15 @@
START=66
USE_PROCD=1
# reboot == new file.
FLAG=/var/wakey_updated.flag
start_service() {
[ -f "$FLAG" ] && return
procd_open_instance
procd_set_param command /etc/ldlda_help/update_wakey.sh
procd_set_param respawn 0 0 0
procd_set_param command /bin/sh -c \
'while ! /etc/ldlda_help/update_wakey.sh; do sleep 5; done'
procd_set_param stdout 1
procd_set_param stderr 1
procd_close_instance
+2 -1
View File
@@ -108,7 +108,8 @@ main() {
# Normalize line endings for shell scripts (avoid CRLF issues on OpenWrt)
for f in \
"$STAGING/etc/init.d/"* \
"$STAGING/etc/ldlda_help/"*.sh; do
"$STAGING/etc/ldlda_help/"*.sh \
"$STAGING/root/.bin/"*.sh ; do
[ -f "$f" ] && sed -i 's/\r$//' "$f" 2>/dev/null || true
done