diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-09-28 19:56:11 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-09-28 19:56:11 +0000 |
commit | aee977f8c1be1f5844f1f92e14deac22463e4301 (patch) | |
tree | 75b480092e5fbada68d5c075d643ba4251c3aa6f /packages/ntop/ntop.xml | |
parent | 79b6ac7eaaaec2c4340e2a530ed916ef7f0e67a1 (diff) | |
download | pfsense-packages-aee977f8c1be1f5844f1f92e14deac22463e4301.tar.gz pfsense-packages-aee977f8c1be1f5844f1f92e14deac22463e4301.tar.bz2 pfsense-packages-aee977f8c1be1f5844f1f92e14deac22463e4301.zip |
Create and chown /var/db/ntop
Ticket #561
Diffstat (limited to 'packages/ntop/ntop.xml')
-rw-r--r-- | packages/ntop/ntop.xml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/ntop/ntop.xml b/packages/ntop/ntop.xml index 86b29264..375aac53 100644 --- a/packages/ntop/ntop.xml +++ b/packages/ntop/ntop.xml @@ -67,6 +67,8 @@ $ntop_config =& $_POST; $if_final = ""; $ifaces_final = ""; + system("mkdir -p /var/db/ntopchown nobody:nobody /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']) { $first = 0; |