summaryrefslogtreecommitdiffstats
path: root/etc/inc/pfsense-utils.inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-03-28 21:11:43 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-03-28 21:11:43 +0000
commit8cb370b9b6b53c7942466026c53c82e0cb957bb3 (patch)
tree0c18954c50ff6b190842acbc938bb42f3eda0459 /etc/inc/pfsense-utils.inc
parent6a6d2f63d22c3c418ad76c2e34bedbfe8806d1b5 (diff)
downloadpfsense-8cb370b9b6b53c7942466026c53c82e0cb957bb3.zip
pfsense-8cb370b9b6b53c7942466026c53c82e0cb957bb3.tar.gz
* Add comments * Remove blank space at end of file
Diffstat (limited to 'etc/inc/pfsense-utils.inc')
-rw-r--r--etc/inc/pfsense-utils.inc17
1 files changed, 17 insertions, 0 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc
index 52a022c..15e10bd 100644
--- a/etc/inc/pfsense-utils.inc
+++ b/etc/inc/pfsense-utils.inc
@@ -33,10 +33,27 @@
*
*/
+/****f* pfsense-utils/get_tmp_file
+ * NAME
+ * get_tmp_file
+ * INPUTS
+ * none
+ * RESULT
+ * returns a temporary filename
+ ******/
function get_tmp_file() {
return "/tmp/tmp-" . time();
}
+/****f* pfsense-utils/tdr_install_cron
+ * NAME
+ * tdr_install_cron
+ * INPUTS
+ * $should_install true if the cron entry should be installed, false
+ * if the entry should be removed if it is present
+ * RESULT
+ * none
+ ******/
function tdr_install_cron($should_install) {
global $config;
$is_installed = false;
OpenPOWER on IntegriCloud