diff options
Diffstat (limited to 'release')
-rw-r--r-- | release/src/router/rc/ntp.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/release/src/router/rc/ntp.c b/release/src/router/rc/ntp.c index dad9927e5a..41e420c481 100644 --- a/release/src/router/rc/ntp.c +++ b/release/src/router/rc/ntp.c @@ -56,8 +56,6 @@ static void ntp_service() setup_timezone(); - if (is_routing_enabled()) - notify_rc_and_period_wait("restart_upnp", 25); #ifdef RTCONFIG_DISK_MONITOR notify_rc("restart_diskmon"); #endif @@ -67,6 +65,11 @@ static void ntp_service() reload_dnsmasq(); } #endif + + if (is_routing_enabled()) { + sleep(10); + notify_rc_and_period_wait("restart_upnp", 25); + } } } |