diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2007-03-28 21:11:43 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2007-03-28 21:11:43 +0000 |
commit | 8cb370b9b6b53c7942466026c53c82e0cb957bb3 (patch) | |
tree | 0c18954c50ff6b190842acbc938bb42f3eda0459 /etc/inc/pfsense-utils.inc | |
parent | 6a6d2f63d22c3c418ad76c2e34bedbfe8806d1b5 (diff) | |
download | pfsense-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.inc | 17 |
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; |