]> git.pld-linux.org Git - packages/ntop.git/commitdiff
- there's option to set admin password, use it when initializing
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 2 Jan 2006 00:31:31 +0000 (00:31 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    ntop.init -> 1.6

ntop.init

index ec3ef7e9f9234622562f84e39982f0826784935f..e131a0ba1acca1f6620975dbd803250ae9408be5 100644 (file)
--- a/ntop.init
+++ b/ntop.init
@@ -38,8 +38,6 @@ case "$1" in
        # 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 @@ case "$1" in
        fi
        ;;
   init)
-       ntop -P $NTOP_DIR @/etc/ntop.conf
+       ntop -P $NTOP_DIR @/etc/ntop.conf -A
        ;;
   status)
        status ntop
This page took 0.077954 seconds and 4 git commands to generate.