amavisd-new/amavisd-new-2.8.1-initscript-no-deprecated-network.patch

14 lines
476 B
Diff
Raw Normal View History

diff -Nru amavisd-new-2.8.1.orig/amavisd_init.sh amavisd-new-2.8.1/amavisd_init.sh
--- amavisd-new-2.8.1.orig/amavisd_init.sh 2002-11-16 05:22:47.000000000 +0100
+++ amavisd-new-2.8.1/amavisd_init.sh 2014-04-21 14:13:47.279674469 +0200
@@ -12,9 +12,6 @@
# Source function library.
. /etc/rc.d/init.d/functions
-# Source networking configuration.
-. /etc/sysconfig/network
-
#prog="/opt/amavisd-new/sbin/amavisd"
prog="/usr/sbin/amavisd"
prog_base="$(basename ${prog})"