Project

General

Profile

« Previous | Next » 

Revision 6dd2a1e4

Added by Seth Mos over 16 years ago

Extra sighup not needed on 7

View differences:

etc/inc/vpn.inc
794 794
			mwexec("/usr/local/sbin/setkey -F");
795 795
			/* load SPD */
796 796
			mwexec("/usr/local/sbin/setkey -f {$g['varetc_path']}/spd.conf");
797
			sleep(1);
798 797
			/* We are already online, reload */
799 798
			mwexec("/usr/bin/killall -HUP racoon");
800
			sleep(1);
801
			mwexec("/usr/bin/killall -HUP racoon");
802 799
		} else {
803 800
			/* start racoon */
804 801
			mwexec("/usr/local/sbin/racoon -f {$g['varetc_path']}/racoon.conf");
......
807 804
			mwexec("/usr/local/sbin/setkey -F");
808 805
			/* load SPD */
809 806
			mwexec("/usr/local/sbin/setkey -f {$g['varetc_path']}/spd.conf");
810
			sleep(1);
811 807
			/* We are already online, reload */
812 808
			mwexec("/usr/bin/killall -HUP racoon");
813
			sleep(1);
814
			mwexec("/usr/bin/killall -HUP racoon");
815 809

  
816 810
			/* start dnswatch, if necessary */
817 811
			if (count($dnswatch_list) > 0) {

Also available in: Unified diff