Revision b61e8960
Added by Jim Pingle about 13 years ago
etc/rc.newwanipv6 | ||
---|---|---|
63 | 63 |
|
64 | 64 |
/* restart packages */ |
65 | 65 |
system_ntp_configure(false); |
66 |
mwexec_bg("/usr/local/sbin/ntpdate_sync_once.sh"); |
|
66 |
mwexec_bg("/usr/local/sbin/ntpdate_sync_once.sh", true);
|
|
67 | 67 |
log_error("{$g['product_name']} package system has detected an ip change $oldip -> $curwanip ... Restarting packages."); |
68 | 68 |
mwexec_bg("/etc/rc.start_packages"); |
69 | 69 |
} |
Also available in: Unified diff
Teach mwexec and mwexec_bg how to optionally clear signal masks, and use that when launching ntp or ntpdate.