Project

General

Profile

Download (1.11 KB) Statistics
| Branch: | Tag: | Revision:
1 cb7d18d5 Renato Botelho
#!/usr/local/bin/php-cgi -f
2 dff64d47 Scott Ullrich
<?php
3
/*
4 ac24dc24 Renato Botelho
 * rc.reload_all
5
 *
6
 * part of pfSense (https://www.pfsense.org)
7 81299b5c Renato Botelho
 * Copyright (c) 2004-2016 Rubicon Communications, LLC (Netgate)
8 ac24dc24 Renato Botelho
 * 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 b96cad97 Seth Mos
require_once("ipsec.inc");
28 ff7dec00 Ermal Lu?i
require_once("vpn.inc");
29 a1af7426 Ermal Lu?i
require_once("captiveportal.inc");
30 dff64d47 Scott Ullrich
31 0480df82 Scott Ullrich
log_error("rc.reload_all: Reloading all configuration settings.");
32 dff64d47 Scott Ullrich
reload_all_sync();
33 de27c94d Scott Ullrich
sleep(2);
34 0480df82 Scott Ullrich
log_error("rc.reload_all: Reloading filter configuration.");
35 96b86f6d Scott Ullrich
filter_configure_sync();
36 dff64d47 Scott Ullrich
37 b96cad97 Seth Mos
?>