Revision 10e741d5
Added by Jim Pingle about 13 years ago
etc/rc.newwanip | ||
---|---|---|
51 | 51 |
|
52 | 52 |
/* restart packages */ |
53 | 53 |
system_ntp_configure(false); |
54 |
mwexec_bg("/usr/local/sbin/ntpdate_sync_once.sh");
|
|
54 |
mwexec_bg("echo /usr/local/sbin/ntpdate_sync_once.sh | tcsh");
|
|
55 | 55 |
log_error("{$g['product_name']} package system has detected an ip change $oldip -> $curwanip ... Restarting packages."); |
56 | 56 |
send_event("service reload packages"); |
57 | 57 |
} |
Also available in: Unified diff
ntpdate was hanging, use the same hacky fix that works for ntpd and it works too. All happy, even from a cold boot on ALIX 2d3 with no RTC battery.