summaryrefslogtreecommitdiffstats
path: root/etc/inc/pfsense-utils.inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-01-15 10:43:11 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-01-15 10:43:11 +0000
commitc9fbacb77e9ddf13b69396be2f61a8bbd546b822 (patch)
treebdd14be1a70d832ed2a07f6b70ede32fc5e0cbf6 /etc/inc/pfsense-utils.inc
parent413350ce5285149471a06eee99743b43a3ad779d (diff)
downloadpfsense-c9fbacb77e9ddf13b69396be2f61a8bbd546b822.zip
pfsense-c9fbacb77e9ddf13b69396be2f61a8bbd546b822.tar.gz
back out last commit
Diffstat (limited to 'etc/inc/pfsense-utils.inc')
-rw-r--r--etc/inc/pfsense-utils.inc17
1 files changed, 0 insertions, 17 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc
index a94ac8b..7cbee90 100644
--- a/etc/inc/pfsense-utils.inc
+++ b/etc/inc/pfsense-utils.inc
@@ -45,23 +45,6 @@ if($g['platform'] == "pfSense") {
safe_mkdir("/usr/local/pkg/pf");
}
-/*
- * safe_mkdir($path, $mode = 0755)
- * create directory if it doesn't already exist and isn't a file!
- */
-function safe_mkdir($path, $mode=0755) {
- global $g;
-
- /* cdrom is ro. */
- if($g['platform'] == "cdrom")
- return false;
-
- if (!is_file($path) && !is_dir($path))
- return mkdir($path, $mode);
- else
- return false;
-}
-
/****f* pkg-utils/is_package_installed
* NAME
* is_package_installed - Check whether a package is installed.
OpenPOWER on IntegriCloud