Project

General

Profile

« Previous | Next » 

Revision 285ef132

Added by Ermal Luçi over 10 years ago

Rather than set the g['booting'] on globals provide a function to test for that doing the right checks

View differences:

etc/inc/openvpn.inc
875 875
	openvpn_clear_route($mode, $settings);
876 876
	mwexec_bg("/usr/local/sbin/openvpn --config " . escapeshellarg($fpath));
877 877

  
878
	if (!$g['booting'])
878
	if (!platform_booting())
879 879
		send_event("filter reload");
880 880
}
881 881

  

Also available in: Unified diff