Yeah ... see the other message on ntop's script. When you get it all pulled together, I'll expect to drop it into the .rpms.
-----Burton > -----Original Message----- > From: pc [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 26, 2003 9:07 PM > To: [EMAIL PROTECTED] > Subject: Issues w/ ntop 2.2.93 <anip/> > /etc/rc.d/init.d/ntop script errors > > The /etc/rc.d/init.d/ntop service script has several errors. > > 1. In the start() section on line 47 the test needs to be quoted, otherwise the shell will complain that a binary condition is missing. ${db}/ntop_pw.db should be: "${db}/ntop_pw.db" > > 2. The -L option was hard coded. I added some additional logic to test the ntop.config file for the presence of the --use-syslog option. > > 3. The --access-log-path section has been corrected to handle the ownership permission issues stated earlier. > > 4. Cleaned up grep'ing of ntop.conf parameters with '^ *' sequence to prevent pulling data from comment lines. > > 5. --db-file-path - characters have been quoted with \'s for consistency (a nit) > > I tried to keep it in the style consistent with the rest of the script. A copy of the repaired script is attached (see:.ntop.initd.sh) _______________________________________________ Ntop-dev mailing list [EMAIL PROTECTED] http://listgateway.unipi.it/mailman/listinfo/ntop-dev
