summaryrefslogtreecommitdiff
path: root/security/drweb-sendmail/files
diff options
context:
space:
mode:
Diffstat (limited to 'security/drweb-sendmail/files')
-rw-r--r--security/drweb-sendmail/files/patch-af22
1 files changed, 22 insertions, 0 deletions
diff --git a/security/drweb-sendmail/files/patch-af b/security/drweb-sendmail/files/patch-af
new file mode 100644
index 000000000000..5cd3304133c4
--- /dev/null
+++ b/security/drweb-sendmail/files/patch-af
@@ -0,0 +1,22 @@
+--- ../sendmail/template.initscript.orig Wed Sep 26 01:02:29 2001
++++ ../sendmail/template.initscript Wed Oct 3 22:36:07 2001
+@@ -13,7 +13,7 @@
+ # Use these if cannot found functions
+ dw_daemon() {
+ ulimit -c 0
+- $* &
++ $*
+ return $?
+ }
+
+@@ -105,9 +105,7 @@
+ RETVAL=$?
+ if [ $RETVAL -eq 0 ] ; then
+ [ $FILTER_UNIX = "yes" ] && rm -f $FILTER_SOCKET
+- if [ "x$DAEMON_PID" != "x" ] ; then
+- sleep 1
+- fi
++ [ $DAEMON_UNIX = "yes" ] && chmod 660 $DAEMON_SOCKET
+ $PROC_DAEMON $FILTER_CMD
+ RETVAL=$?
+ fi