Project

General

Profile

« Previous | Next » 

Revision 1d333258

Added by Scott Ullrich over 15 years ago

Add pfSense_BUILDER_BINARIES: and pfSense_MODULE:. Adjust Copyright to include 2009 on files that I have asserted (C) on

View differences:

usr/local/www/status_services.php
25 25
    ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
26 26
    POSSIBILITY OF SUCH DAMAGE.
27 27
*/
28
/*	
29
	pfSense_BUILDER_BINARIES:	/usr/local/sbin/openvpn	/usr/bin/killall	/bin/ps
30
	pfSense_MODULE:	services
31
*/
28 32

  
29 33
##|+PRIV
30 34
##|*IDENT=page-status-services
......
33 37
##|*MATCH=status_services.php*
34 38
##|-PRIV
35 39

  
36

  
37 40
require("guiconfig.inc");
38 41
require_once("service-utils.inc");
39 42

  
......
72 75
			upnp_action('restart');	
73 76
			break;
74 77
		case 'racoon':
75
			exec("killall -9 racoon");
78
			exec("/usr/bin/killall -9 racoon");
76 79
			sleep(1);
77 80
			vpn_ipsec_force_reload();
78 81
			break;
......
85 88
					killbypid($pidfile);
86 89
					sleep(1);
87 90
					$configfile = $g['varetc_path'] . "/openvpn_{$vpnmode}{$id}.conf";
88
					mwexec_bg("openvpn --config $configfile");
91
					mwexec_bg("/usr/local/sbin/openvpn --config $configfile");
89 92
				}
90 93
			}
91 94
			break;
......
128 131
				$id = $_GET['id'];
129 132
				if (is_numeric($id)) {
130 133
					$configfile = $g['varetc_path'] . "/openvpn_{$vpnmode}{$id}.conf";
131
					mwexec_bg("openvpn --config $configfile");
134
					mwexec_bg("/usr/local/sbin/openvpn --config $configfile");
132 135
				}
133 136
			}
134 137
			break;

Also available in: Unified diff