Use ${name} in pathnames where appropriate.

The sendmail script already was on this way,
but it didn't reach the end of it yet.
This commit is contained in:
Yaroslav Tykhiy 2005-10-28 16:55:38 +00:00
parent b29890a328
commit df19ed6a02
5 changed files with 7 additions and 7 deletions

View File

@ -12,7 +12,7 @@
name="devd"
rcvar=`set_rcvar`
command="/sbin/devd"
command="/sbin/${name}"
load_rc_config $name
run_rc_command "$1"

View File

@ -13,7 +13,7 @@
name="ipmon"
rcvar=`set_rcvar`
command="/sbin/ipmon"
command="/sbin/${name}"
start_precmd="ipmon_precmd"
ipmon_precmd()

View File

@ -13,7 +13,7 @@
name="newsyslog"
rcvar=`set_rcvar`
required_files="/etc/newsyslog.conf"
command="/usr/sbin/newsyslog"
command="/usr/sbin/${name}"
start_cmd="newsyslog_start"
stop_cmd=":"

View File

@ -12,7 +12,7 @@
name="powerd"
rcvar=`set_rcvar`
command="/usr/sbin/powerd"
command="/usr/sbin/${name}"
load_rc_config $name
run_rc_command "$1"

View File

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