SOURCES: ntop.init - correct order of arguments so it functions

aredridel aredridel at pld-linux.org
Tue Jan 6 23:50:20 CET 2009


Author: aredridel                    Date: Tue Jan  6 22:50:20 2009 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- correct order of arguments so it functions

---- Files affected:
SOURCES:
   ntop.init (1.8 -> 1.9) 

---- Diffs:

================================================================
Index: SOURCES/ntop.init
diff -u SOURCES/ntop.init:1.8 SOURCES/ntop.init:1.9
--- SOURCES/ntop.init:1.8	Mon Jan 16 16:39:22 2006
+++ SOURCES/ntop.init	Tue Jan  6 23:50:14 2009
@@ -44,7 +44,7 @@
 	# Check if the service is already running?
 	if [ ! -f /var/lock/subsys/ntop ]; then
 		msg_starting ntop
-		daemon ntop -d -P $NTOP_DIR @/etc/ntop.conf
+		daemon ntop @/etc/ntop.conf -d -P $NTOP_DIR
 		RETVAL=$?
 		[ $RETVAL -eq 0 ] && touch /var/lock/subsys/ntop
 	else
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/ntop.init?r1=1.8&r2=1.9&f=u



More information about the pld-cvs-commit mailing list