Project

General

Profile

Download (1.64 KB) Statistics
| Branch: | Tag: | Revision:
1 cb7d18d5 Renato Botelho
#!/usr/local/bin/php-cgi -f
2 dff64d47 Scott Ullrich
<?php
3
/*
4 e173dd74 Phil Davis
	rc.reload_interfaces
5
	part of pfSense (https://www.pfsense.org)
6
	Copyright (C) 2004 Scott Ullrich
7
	All rights reserved.
8 dff64d47 Scott Ullrich
9 e173dd74 Phil Davis
	Redistribution and use in source and binary forms, with or without
10
	modification, are permitted provided that the following conditions are met:
11 dff64d47 Scott Ullrich
12 e173dd74 Phil Davis
	1. Redistributions of source code must retain the above copyright notice,
13
	   this list of conditions and the following disclaimer.
14 dff64d47 Scott Ullrich
15 e173dd74 Phil Davis
	2. Redistributions in binary form must reproduce the above copyright
16
	   notice, this list of conditions and the following disclaimer in the
17
	   documentation and/or other materials provided with the distribution.
18 dff64d47 Scott Ullrich
19 e173dd74 Phil Davis
	THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
20
	INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
21
	AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
22
	AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
23
	OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
24
	SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
25
	INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
26
	CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
27
	ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
28
	POSSIBILITY OF SUCH DAMAGE.
29 dff64d47 Scott Ullrich
*/
30
31
require_once("config.inc");
32 5f2d078e Scott Ullrich
require_once("functions.inc");
33 dff64d47 Scott Ullrich
require_once("filter.inc");
34 5f2d078e Scott Ullrich
require_once("shaper.inc");
35 4f8e387d Scott Ullrich
require_once("openvpn.inc");
36 67cd847c Ermal Lu?i
require_once("vpn.inc");
37 fe9ee1e0 Ermal
require_once("captiveportal.inc");
38 dff64d47 Scott Ullrich
39
reload_interfaces_sync();
40 96b86f6d Scott Ullrich
filter_configure_sync();
41 e1f6e59e Ermal Lu?i
/* XXX: needs fixing */
42
//ovpn_config_server("pfreload");
43 dff64d47 Scott Ullrich
44 4f8e387d Scott Ullrich
?>