[Lunar-commits] CVS: moonbase/zbeta/ntop/init.d ntop,1.1.1.1,1.2
Jan Eidtmann
cmak at lunar-linux.org
Tue Mar 15 15:28:13 UTC 2005
Update of /var/cvs/lunar/moonbase/zbeta/ntop/init.d
In directory espresso.foo-projects.org:/tmp/cvs-serv4382/init.d
Modified Files:
ntop
Log Message:
ntop tweaks
Index: ntop
===================================================================
RCS file: /var/cvs/lunar/moonbase/zbeta/ntop/init.d/ntop,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -d -r1.1.1.1 -r1.2
--- ntop 21 Aug 2002 00:55:23 -0000 1.1.1.1
+++ ntop 15 Mar 2005 15:28:10 -0000 1.2
@@ -5,7 +5,8 @@
# chkconfig: 345 90 10
# description: ntop daemon
# processname: ntop
-# config: /etc/config.d/ntop.conf
+# pidfile: /var/ntop/ntop.pid
+# config: /etc/config.d/ntop.conf
if [ -f /etc/config.d/ntop.conf ]; then
. /etc/config.d/ntop.conf
@@ -14,12 +15,6 @@
fi
start () {
- if [ ! -f /var/ntop/addressCache.db ]; then
- # cannot initialize the database because it prompts for a password
- echo -e "Cannot initialize the database!"
- echo -e "Pleas run ntop --set-admin-password=<pass>$RESULT_FAIL"
- exit 1
- fi
default_start
}
More information about the Lunar-commits
mailing list