From bc16207e9e9b31ef63c40e724afe431ca79960bf Mon Sep 17 00:00:00 2001 From: James FitzGibbon Date: Fri, 9 Aug 1996 14:06:05 +0000 Subject: [PATCH] Patches run_daemon to use correct e-mail address and /usr/bin/mail --- databases/msql/files/patch-ac | 36 ++++++++++++++++++++++++++++++++++ databases/msql3/files/patch-ac | 36 ++++++++++++++++++++++++++++++++++ 2 files changed, 72 insertions(+) create mode 100644 databases/msql/files/patch-ac create mode 100644 databases/msql3/files/patch-ac diff --git a/databases/msql/files/patch-ac b/databases/msql/files/patch-ac new file mode 100644 index 000000000000..dcf4a08abea8 --- /dev/null +++ b/databases/msql/files/patch-ac @@ -0,0 +1,36 @@ +*** scripts/run_daemon.orig Mon Dec 18 20:27:42 1995 +--- scripts/run_daemon Sun Jul 21 22:15:25 1996 +*************** +*** 9,16 **** + # + # bambi@Bond.edu.au + +! INST_DIR=/usr/local/Minerva +! ADMIN="you@some.machine" + PROG=$1 + + if test ! -d "${INST_DIR}/debug" +--- 9,16 ---- + # + # bambi@Bond.edu.au + +! INST_DIR=@@PREFIX@@ +! ADMIN="root@@@HOSTNAME@@" + PROG=$1 + + if test ! -d "${INST_DIR}/debug" +*************** +*** 34,39 **** + + " > mail.tmp + cat output >> mail.tmp +! /usr/ucb/mail -s "Minerva Daemon Crash Report" ${ADMIN} < mail.tmp + sleep 15 + done +--- 34,39 ---- + + " > mail.tmp + cat output >> mail.tmp +! /usr/bin/mail -s "Minerva Daemon Crash Report" ${ADMIN} < mail.tmp + sleep 15 + done diff --git a/databases/msql3/files/patch-ac b/databases/msql3/files/patch-ac new file mode 100644 index 000000000000..dcf4a08abea8 --- /dev/null +++ b/databases/msql3/files/patch-ac @@ -0,0 +1,36 @@ +*** scripts/run_daemon.orig Mon Dec 18 20:27:42 1995 +--- scripts/run_daemon Sun Jul 21 22:15:25 1996 +*************** +*** 9,16 **** + # + # bambi@Bond.edu.au + +! INST_DIR=/usr/local/Minerva +! ADMIN="you@some.machine" + PROG=$1 + + if test ! -d "${INST_DIR}/debug" +--- 9,16 ---- + # + # bambi@Bond.edu.au + +! INST_DIR=@@PREFIX@@ +! ADMIN="root@@@HOSTNAME@@" + PROG=$1 + + if test ! -d "${INST_DIR}/debug" +*************** +*** 34,39 **** + + " > mail.tmp + cat output >> mail.tmp +! /usr/ucb/mail -s "Minerva Daemon Crash Report" ${ADMIN} < mail.tmp + sleep 15 + done +--- 34,39 ---- + + " > mail.tmp + cat output >> mail.tmp +! /usr/bin/mail -s "Minerva Daemon Crash Report" ${ADMIN} < mail.tmp + sleep 15 + done