Project

General

Profile

« Previous | Next » 

Revision d09d53ac

Added by Ermal LUÇI almost 15 years ago

When booting up do not try to configure ovpn[c|s] interfaces if present also try to configure openvpn eariler just after the interfaces have been setup.

View differences:

etc/rc.bootup
228 228
/* re-make hosts file after configuring interfaces */
229 229
system_hosts_generate();
230 230

  
231
/* start OpenVPN server & clients */
232
echo "Syncing OpenVPN settings...";
233
openvpn_resync_all();
234
echo "done.\n";
235

  
231 236
/* generate resolv.conf */
232 237
system_resolvconf_generate();
233 238

  
......
255 260
	local_sync_accounts();
256 261
echo "done.\n";
257 262

  
258
/* start OpenVPN server & clients */
259
echo "Syncing OpenVPN settings...";
260
openvpn_resync_all();
261
echo "done.\n";
262

  
263 263
if($avail > 0 and $avail < 65) {
264 264
	echo "System has less than 65 megabytes of ram {$avail}.  Delaying webConfigurator startup.\n";
265 265
	/* start webConfigurator up on final pass */

Also available in: Unified diff