🐤 Sync 2026-07-19 08:33:25

This commit is contained in:
github-actions[bot] committed 2026-07-19 08:33:25 +08:00
1 parent 0c46bce85a
commit 7974ca67ae
4 files changed
+14 -3

No files matched your search

@@ -1,4 +1,4 @@
config global 'global'
option enable '0'
option start_delay '90'
@@ -3,7 +3,13 @@
START=99
boot_func() {
sleep 90
config_load passwall_server
config_get start_delay global start_delay 90
case "$start_delay" in
''|*[!0-9]*) start_delay=90 ;;
*) [ "$start_delay" -le 600 ] 2>/dev/null || start_delay=90 ;;
esac
[ "$start_delay" -gt 0 ] && sleep "$start_delay"
restart
}