diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-07-25 00:01:08 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-07-25 00:01:08 +0000 |
commit | 39a852587cd0f8d6931647a45e205aa484a0c989 (patch) | |
tree | 4c7b306e8048d70e03e6047b006271d297dbfa6d /etc/inc | |
parent | 97aaf7067a3b94293c156c6e7c9365b88472fb68 (diff) | |
download | pfsense-39a852587cd0f8d6931647a45e205aa484a0c989.zip pfsense-39a852587cd0f8d6931647a45e205aa484a0c989.tar.gz |
Cleanup comments
Diffstat (limited to 'etc/inc')
-rw-r--r-- | etc/inc/pfsense-utils.inc | 30 |
1 files 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")) |