]> git.pld-linux.org Git - packages/ntop.git/commitdiff
- added interface directive,
authordjrzulf <djrzulf@pld-linux.org>
Wed, 1 Oct 2003 12:46:53 +0000 (12:46 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    ntop.init -> 1.3
    ntop.sysconfig -> 1.2

ntop.init
ntop.sysconfig

index 08da0adb1937436d1b7bca56fe084f9107994789..d10418714d51315a7379e1554239079087ceb5b1 100644 (file)
--- a/ntop.init
+++ b/ntop.init
@@ -41,7 +41,7 @@ case "$1" in
        # Check if the service is already running?
        if [ ! -f /var/lock/subsys/ntop ]; then
                msg_starting ntop
-               ntop -d -P $NTOP_DIR > /dev/null 2>&1
+               ntop -d -P $NTOP_DIR -i $NTOP_IFACE > /dev/null 2>&1
                RETVAL=$?
                [ $RETVAL -eq 0 ] && ok || fail
                [ $RETVAL -eq 0 ] && touch /var/lock/subsys/ntop
@@ -74,7 +74,7 @@ case "$1" in
        fi
        ;;
   init)
-       ntop -P $NTOP_DIR
+       ntop -P $NTOP_DIR -i $NTOP_IFACE
        ;;
   status)
        status ntop
index 15bcd060bd27af390369d1327eb4b54c5cc2e315..3eb7ee2df1acb86f4bf529c61007f8010cacb05e 100644 (file)
@@ -1,3 +1,4 @@
 # ntop file set
 NTOP_DIR="/var/lib/ntop/"
+#NTOP_IFACE="eth0"
 
This page took 0.037986 seconds and 4 git commands to generate.