From aee977f8c1be1f5844f1f92e14deac22463e4301 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Wed, 28 Sep 2005 19:56:11 +0000 Subject: Create and chown /var/db/ntop Ticket #561 --- packages/ntop/ntop.xml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'packages') 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; -- cgit v1.2.3