aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-10-01 02:18:54 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-10-01 02:18:54 +0000
commitd2d5f80f00eeff0075a037297195485d37d4dde4 (patch)
tree9e50c088c31038a6c18610ba5f52af4ab3f56bc8
parentaee977f8c1be1f5844f1f92e14deac22463e4301 (diff)
downloadpfsense-packages-d2d5f80f00eeff0075a037297195485d37d4dde4.tar.gz
pfsense-packages-d2d5f80f00eeff0075a037297195485d37d4dde4.tar.bz2
pfsense-packages-d2d5f80f00eeff0075a037297195485d37d4dde4.zip
Correctly mkdir and chown
-rw-r--r--packages/ntop/ntop.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/ntop/ntop.xml b/packages/ntop/ntop.xml
index 375aac53..9777a77a 100644
--- a/packages/ntop/ntop.xml
+++ b/packages/ntop/ntop.xml
@@ -67,7 +67,7 @@
$ntop_config =&amp; $_POST;
$if_final = "";
$ifaces_final = "";
- system("mkdir -p /var/db/ntopchown nobody:nobody /var/db/ntop");
+ system("mkdir -p /var/db/ntop");
system("chown nobody:nobody /var/db/ntop");
if($ntop_config['password'] and $ntop_config['passwordagain']) {
if($ntop_config['password'] == $ntop_config['passwordagain']) {