SOURCES: ntop.init - there's option to set admin password, use it ...

glen glen at pld-linux.org
Mon Jan 2 01:31:36 CET 2006


Author: glen                         Date: Mon Jan  2 00:31:36 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- there's option to set admin password, use it when initializing

---- Files affected:
SOURCES:
   ntop.init (1.5 -> 1.6) 

---- Diffs:

================================================================
Index: SOURCES/ntop.init
diff -u SOURCES/ntop.init:1.5 SOURCES/ntop.init:1.6
--- SOURCES/ntop.init:1.5	Thu Dec  8 02:02:49 2005
+++ SOURCES/ntop.init	Mon Jan  2 01:31:31 2006
@@ -38,8 +38,6 @@
 	# Check if ntop is initialized
 	if [ ! -f "$NTOP_DIR/addressQueue.db" ]; then
 		nls "ntop is not initialized. Try \"%s init\" before start." "$0"
-		echo ""
-		nls "After setting password please press ^C to stop the daemon."
 		exit 6
 	fi
 
@@ -78,7 +76,7 @@
 	fi
 	;;
   init)
-	ntop -P $NTOP_DIR @/etc/ntop.conf
+	ntop -P $NTOP_DIR @/etc/ntop.conf -A
 	;;
   status)
 	status ntop
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/ntop.init?r1=1.5&r2=1.6&f=u



More information about the pld-cvs-commit mailing list