Use full path to sendmail for security reasons.

Submitted by:	Ollivier Robert <roberto@keltia.freenix.fr>
This commit is contained in:
Jordan K. Hubbard 1997-05-07 12:35:03 +00:00
parent ea76be72fe
commit 2e9cf7f041
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=25530

4
etc/rc
View File

@ -1,5 +1,5 @@
#!/bin/sh
# $Id: rc,v 1.121 1997/05/04 22:33:17 andreas Exp $
# $Id: rc,v 1.122 1997/05/05 07:08:30 jkh Exp $
# From: @(#)rc 5.27 (Berkeley) 6/5/91
# System startup script run by init on autoboot
@ -225,7 +225,7 @@ if [ "X${lpd_enable}" = X"YES" ]; then
fi
if [ "X${sendmail_enable}" = X"YES" -a -r /etc/sendmail.cf ]; then
echo -n ' sendmail'; sendmail ${sendmail_flags}
echo -n ' sendmail'; /usr/sbin/sendmail ${sendmail_flags}
fi
echo '.'