From 39a852587cd0f8d6931647a45e205aa484a0c989 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Mon, 25 Jul 2005 00:01:08 +0000 Subject: Cleanup comments --- etc/inc/pfsense-utils.inc | 30 +++++++++++++++++++++++++++--- 1 file changed, 27 insertions(+), 3 deletions(-) diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc index 9be95da..ecf8b54 100644 --- a/etc/inc/pfsense-utils.inc +++ b/etc/inc/pfsense-utils.inc @@ -1005,7 +1005,7 @@ function strncpy(&$dst, $src, $length) { } } -/****f* pfsense-utils/reload_interfaces +/****f* pfsense-utils/reload_interfaces_sync * NAME * reload_interfaces - reload all interfaces * INPUTS @@ -1013,7 +1013,7 @@ function strncpy(&$dst, $src, $length) { * RESULT * none ******/ -function reload_interfaces() { +function reload_interfaces_sync() { global $config, $g; if(file_exists("{$g['tmp_path']}/config.cache")) @@ -1043,13 +1043,37 @@ function reload_interfaces() { /****f* pfsense-utils/reload_all * NAME - * reload_all - reload all settings + * reload_all - triggers a reload of all settings * * INPUTS * none * RESULT * none ******/ function reload_all() { + touch("/tmp/reload_all"); +} + +/****f* pfsense-utils/reload_interfaces + * NAME + * reload_interfaces - triggers a reload of all interfaces + * INPUTS + * none + * RESULT + * none + ******/ +function reload_interfaces() { + touch("/tmp/reload_interfaces"); +} + +/****f* pfsense-utils/reload_all_sync + * NAME + * reload_all - reload all settings + * * INPUTS + * none + * RESULT + * none + ******/ +function reload_all_sync() { global $config, $g; if(file_exists("{$g['tmp_path']}/config.cache")) -- cgit v1.1