diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-01-21 23:37:23 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-01-21 23:37:23 +0000 |
commit | 787a6c62c8c54183717fca44ebe962264cc7ac98 (patch) | |
tree | fd7343092a477606f8ecda135e3e4944813619d0 /packages | |
parent | 4e96fae445dd3dd56e3cf0e923182712efc12adb (diff) | |
download | pfsense-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')
-rw-r--r-- | packages/ntop/ntop.xml | 5 |
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 =& $_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']) { |