diff options
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']) { |