summaryrefslogtreecommitdiffstats
path: root/etc/inc/pfsense-utils.inc
diff options
context:
space:
mode:
Diffstat (limited to 'etc/inc/pfsense-utils.inc')
-rw-r--r--etc/inc/pfsense-utils.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc
index a7e25ca..0498b2e 100644
--- a/etc/inc/pfsense-utils.inc
+++ b/etc/inc/pfsense-utils.inc
@@ -852,7 +852,7 @@ function reload_interfaces_sync() {
******/
function reload_all() {
global $g;
- touch("{$g['tmp_path']}/reload_all");
+ send_event("service reload all");
}
/****f* pfsense-utils/reload_interfaces
@@ -925,10 +925,10 @@ function reload_all_sync() {
conf_mount_ro();
/* restart sshd */
- @touch("{$g['tmp_path']}/start_sshd");
+ send_event("service restart sshd");
/* restart webConfigurator if needed */
- touch("{$g['tmp_path']}/restart_webgui");
+ send_event("service restart webgui");
mwexec("/bin/rm {$g['tmp_path']}/reload*");
}
OpenPOWER on IntegriCloud