diff options
-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; |