summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2010-12-06 10:37:35 +0000
committerErmal <eri@pfsense.org>2010-12-06 10:37:35 +0000
commit5e3a84e295f548b6fb223d30f756244e26c918d3 (patch)
treec72e9d82b02f9db3a4cbdcd2d24df60ccb5abcd5 /etc
parente53e7a5d04c916596b0d84c585d6e0bcfd9e2ba7 (diff)
downloadpfsense-5e3a84e295f548b6fb223d30f756244e26c918d3.zip
pfsense-5e3a84e295f548b6fb223d30f756244e26c918d3.tar.gz
Use send_event since touch()'ing files does not work.
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/pfsense-utils.inc4
1 files changed, 1 insertions, 3 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc
index 688a65e..5a29408 100644
--- a/etc/inc/pfsense-utils.inc
+++ b/etc/inc/pfsense-utils.inc
@@ -816,7 +816,6 @@ function reload_interfaces_sync() {
* none
******/
function reload_all() {
- global $g;
send_event("service reload all");
}
@@ -829,8 +828,7 @@ function reload_all() {
* none
******/
function reload_interfaces() {
- global $g;
- touch("{$g['tmp_path']}/reload_interfaces");
+ send_event("interface all reload");
}
/****f* pfsense-utils/reload_all_sync
OpenPOWER on IntegriCloud