Package: iptotal
Version: 0.3.3-6
Severity: wishlist

This patch allows one to disable iptotal using /etc/default/iptotal:

--- iptotal~    2004-04-07 13:42:27.000000000 +0200
+++ iptotal     2005-07-07 08:56:09.000000000 +0200
@@ -14,14 +14,15 @@ PATH=/usr/local/sbin:/usr/local/bin:/sbi
 DAEMON=/usr/sbin/iptotald
 NAME=iptotal
 DESC=iptotal
-
-test -x $DAEMON || exit 0
+RUN_DAEMON=true
 
 # Include iptotal defaults if available
 if [ -f /etc/default/iptotal ] ; then
        . /etc/default/iptotal
 fi
 
+test "$RUN_DAEMON" = true -a -x $DAEMON || exit 0
+
 set -e
 
 case "$1" in


-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.4.30-pre2-pr-hrt-1kHz-1
Locale: LANG=C, [EMAIL PROTECTED] (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set 
to C)

Versions of packages iptotal depends on:
ii  apache [httpd]              1.3.33-6     versatile, high-performance HTTP s
ii  libc6                       2.3.2.ds1-22 GNU C Library: Shared libraries an
ii  libpcap0.7                  0.7.2-7      System interface for user-level pa
ii  rrdtool                     1.0.49-1     Time-series data storage and displ
ii  tcpdump                     3.8.3-5      A powerful tool for network monito

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to