aboutsummaryrefslogtreecommitdiffstats
path: root/packages/ntop
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-01-21 23:37:23 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-01-21 23:37:23 +0000
commit787a6c62c8c54183717fca44ebe962264cc7ac98 (patch)
treefd7343092a477606f8ecda135e3e4944813619d0 /packages/ntop
parent4e96fae445dd3dd56e3cf0e923182712efc12adb (diff)
downloadpfsense-packages-787a6c62c8c54183717fca44ebe962264cc7ac98.tar.gz
pfsense-packages-787a6c62c8c54183717fca44ebe962264cc7ac98.tar.bz2
pfsense-packages-787a6c62c8c54183717fca44ebe962264cc7ac98.zip
Make sure /var/db/ntop/rrd exists on package install
Diffstat (limited to 'packages/ntop')
-rw-r--r--packages/ntop/ntop.xml5
1 files changed, 3 insertions, 2 deletions
diff --git a/packages/ntop/ntop.xml b/packages/ntop/ntop.xml
index 100e11a7..e9864430 100644
--- a/packages/ntop/ntop.xml
+++ b/packages/ntop/ntop.xml
@@ -67,8 +67,9 @@
$ntop_config =&amp; $_POST;
$if_final = "";
$ifaces_final = "";
- system("mkdir -p /var/db/ntop");
- system("mkdir -p /var/db/ntop/rrd/graphics");
+ system("/bin/mkdir -p /var/db/ntop");
+ system("/bin/mkdir -p /var/db/ntop/rrd");
+ system("/bin/mkdir -p /var/db/ntop/rrd/graphics");
system("chown nobody:nobody /var/db/ntop");
system("chown nobody:nobody /var/db/ntop/rrd/graphics");
if($ntop_config['password'] and $ntop_config['passwordagain']) {