mirror of
https://github.com/caiwx86/small-packages.git
synced 2026-11-01 15:23:56 +08:00
update 2026-07-19 00:51:28
This commit is contained in:
1 parent
c43863be38
commit
270f321458
11 files changed
+1859
-1123
No files matched your search
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user