summaryrefslogtreecommitdiffstats
path: root/etc/rc.d/sendmail
diff options
context:
space:
mode:
authoryar <yar@FreeBSD.org>2005-10-28 16:55:38 +0000
committeryar <yar@FreeBSD.org>2005-10-28 16:55:38 +0000
commit85be5dff385854a1208209ce69c374ab63970002 (patch)
treebef5dda2692f6779c7bae1f5a18141611ed179af /etc/rc.d/sendmail
parent63f6ebb546ed132567cbac85b5957f5dfda868f6 (diff)
downloadFreeBSD-src-85be5dff385854a1208209ce69c374ab63970002.zip
FreeBSD-src-85be5dff385854a1208209ce69c374ab63970002.tar.gz
Use ${name} in pathnames where appropriate.
The sendmail script already was on this way, but it didn't reach the end of it yet.
Diffstat (limited to 'etc/rc.d/sendmail')
-rwxr-xr-xetc/rc.d/sendmail6
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/rc.d/sendmail b/etc/rc.d/sendmail
index 33b11dd..ab76073 100755
--- a/etc/rc.d/sendmail
+++ b/etc/rc.d/sendmail
@@ -20,9 +20,9 @@ required_files="/etc/mail/${name}.cf"
start_precmd="sendmail_precmd"
load_rc_config $name
-command=${sendmail_program:-/usr/sbin/sendmail}
-pidfile=${sendmail_pidfile:-/var/run/sendmail.pid}
-procname=${sendmail_procname:-/usr/sbin/sendmail}
+command=${sendmail_program:-/usr/sbin/${name}}
+pidfile=${sendmail_pidfile:-/var/run/${name}.pid}
+procname=${sendmail_procname:-/usr/sbin/${name}}
case ${sendmail_enable} in
[Nn][Oo][Nn][Ee])
OpenPOWER on IntegriCloud