Revision c3b1ba3f
Added by Ermal LUÇI almost 15 years ago
etc/rc.newwanip | ||
---|---|---|
93 | 93 |
/* start OpenVPN server & clients */ |
94 | 94 |
openvpn_resync_all($interface); |
95 | 95 |
|
96 |
/* reconfigure our gateway monitor */ |
|
97 |
setup_gateways_monitor(); |
|
98 |
|
|
96 | 99 |
/* signal filter reload */ |
97 | 100 |
unlink_if_exists("/tmp/config.cache"); |
98 | 101 |
filter_configure(); |
... | ... | |
100 | 103 |
/* reload graphing functions */ |
101 | 104 |
enable_rrd_graphing(); |
102 | 105 |
|
103 |
/* reconfigure our gateway monitor */ |
|
104 |
setup_gateways_monitor(); |
|
105 |
|
|
106 |
|
|
107 | 106 |
/* restart packages */ |
108 | 107 |
mwexec_bg("/usr/local/sbin/ntpdate_sync_once.sh"); |
109 | 108 |
mwexec_bg("/etc/rc.start_packages"); |
Also available in: Unified diff
Ticket #876. Reload gateways/apinger before filter_reload so the new ip/gateway is considered up from the beginning.