deploy fix i think idk
if i still dont release then it will still loop
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user