1 |
cb7d18d5
|
Renato Botelho
|
#!/usr/local/bin/php-cgi -f
|
2 |
dff64d47
|
Scott Ullrich
|
<?php
|
3 |
|
|
/*
|
4 |
ac24dc24
|
Renato Botelho
|
* rc.reload_interfaces
|
5 |
|
|
*
|
6 |
|
|
* part of pfSense (https://www.pfsense.org)
|
7 |
|
|
* Copyright (c) 2004-2016 Electric Sheep Fencing, LLC
|
8 |
|
|
* All rights reserved.
|
9 |
|
|
*
|
10 |
b12ea3fb
|
Renato Botelho
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
11 |
|
|
* you may not use this file except in compliance with the License.
|
12 |
|
|
* You may obtain a copy of the License at
|
13 |
ac24dc24
|
Renato Botelho
|
*
|
14 |
b12ea3fb
|
Renato Botelho
|
* http://www.apache.org/licenses/LICENSE-2.0
|
15 |
ac24dc24
|
Renato Botelho
|
*
|
16 |
b12ea3fb
|
Renato Botelho
|
* Unless required by applicable law or agreed to in writing, software
|
17 |
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
18 |
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
19 |
|
|
* See the License for the specific language governing permissions and
|
20 |
|
|
* limitations under the License.
|
21 |
ac24dc24
|
Renato Botelho
|
*/
|
22 |
dff64d47
|
Scott Ullrich
|
|
23 |
|
|
require_once("config.inc");
|
24 |
5f2d078e
|
Scott Ullrich
|
require_once("functions.inc");
|
25 |
dff64d47
|
Scott Ullrich
|
require_once("filter.inc");
|
26 |
5f2d078e
|
Scott Ullrich
|
require_once("shaper.inc");
|
27 |
4f8e387d
|
Scott Ullrich
|
require_once("openvpn.inc");
|
28 |
67cd847c
|
Ermal Lu?i
|
require_once("vpn.inc");
|
29 |
fe9ee1e0
|
Ermal
|
require_once("captiveportal.inc");
|
30 |
dff64d47
|
Scott Ullrich
|
|
31 |
|
|
reload_interfaces_sync();
|
32 |
96b86f6d
|
Scott Ullrich
|
filter_configure_sync();
|
33 |
e1f6e59e
|
Ermal Lu?i
|
/* XXX: needs fixing */
|
34 |
|
|
//ovpn_config_server("pfreload");
|
35 |
dff64d47
|
Scott Ullrich
|
|
36 |
4f8e387d
|
Scott Ullrich
|
?>
|