🎨 Sync 2026-10-01 18:52:09

This commit is contained in:
github-actions[bot] committed 2026-10-01 18:52:09 +08:00
1 parent e58f3357cb
commit 870d391c5d
12 files changed
+30 -45

No files matched your search

+7 -8
View File
@@ -450,17 +450,16 @@ service_triggers() {
procd_add_validation validate_section_natmap
}
boot() {
sleep $(uci -q get $NAME.@$GLOBALSECTION[0].boot_delay || echo 0)
network_flush_cache
define_nic
start "$@"
}
start_service() {
local sid="$1"
if [ -z "$DEF_WAN$DEF_WAN6" ]; then
>&2 echo "$(basename $0): default WAN not detected. service startup will be delayed."
sleep $(uci -q get $NAME.@$GLOBALSECTION[0].boot_delay || echo 0)
network_flush_cache
define_nic
fi
config_foreach validate_section_global "$GLOBALSECTION" define_global || return $?
[ "${GLOBAL_enable:=0}" == "0" ] && return 1