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:
parent
b29890a328
commit
df19ed6a02
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=151809
@ -12,7 +12,7 @@
|
||||
|
||||
name="devd"
|
||||
rcvar=`set_rcvar`
|
||||
command="/sbin/devd"
|
||||
command="/sbin/${name}"
|
||||
|
||||
load_rc_config $name
|
||||
run_rc_command "$1"
|
||||
|
@ -13,7 +13,7 @@
|
||||
|
||||
name="ipmon"
|
||||
rcvar=`set_rcvar`
|
||||
command="/sbin/ipmon"
|
||||
command="/sbin/${name}"
|
||||
start_precmd="ipmon_precmd"
|
||||
|
||||
ipmon_precmd()
|
||||
|
@ -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=":"
|
||||
|
||||
|
@ -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"
|
||||
|
@ -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])
|
||||
|
Loading…
Reference in New Issue
Block a user