1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00

Patches run_daemon to use correct e-mail address and /usr/bin/mail

This commit is contained in:
James FitzGibbon 1996-08-09 14:06:05 +00:00
parent 55292e319a
commit bc16207e9e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=3563
2 changed files with 72 additions and 0 deletions

View File

@ -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

View File

@ -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