diff options
author | yar <yar@FreeBSD.org> | 2005-10-28 16:55:38 +0000 |
---|---|---|
committer | yar <yar@FreeBSD.org> | 2005-10-28 16:55:38 +0000 |
commit | 85be5dff385854a1208209ce69c374ab63970002 (patch) | |
tree | bef5dda2692f6779c7bae1f5a18141611ed179af /etc/rc.d | |
parent | 63f6ebb546ed132567cbac85b5957f5dfda868f6 (diff) | |
download | FreeBSD-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')
-rw-r--r-- | etc/rc.d/devd | 2 | ||||
-rwxr-xr-x | etc/rc.d/ipmon | 2 | ||||
-rwxr-xr-x | etc/rc.d/newsyslog | 2 | ||||
-rw-r--r-- | etc/rc.d/powerd | 2 | ||||
-rwxr-xr-x | etc/rc.d/sendmail | 6 |
5 files changed, 7 insertions, 7 deletions
diff --git a/etc/rc.d/devd b/etc/rc.d/devd index c282f3b..50c8a17 100644 --- a/etc/rc.d/devd +++ b/etc/rc.d/devd @@ -12,7 +12,7 @@ name="devd" rcvar=`set_rcvar` -command="/sbin/devd" +command="/sbin/${name}" load_rc_config $name run_rc_command "$1" diff --git a/etc/rc.d/ipmon b/etc/rc.d/ipmon index 271b99d..00d61a5 100755 --- a/etc/rc.d/ipmon +++ b/etc/rc.d/ipmon @@ -13,7 +13,7 @@ name="ipmon" rcvar=`set_rcvar` -command="/sbin/ipmon" +command="/sbin/${name}" start_precmd="ipmon_precmd" ipmon_precmd() diff --git a/etc/rc.d/newsyslog b/etc/rc.d/newsyslog index 9c4ed18..e6c00fc 100755 --- a/etc/rc.d/newsyslog +++ b/etc/rc.d/newsyslog @@ -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=":" diff --git a/etc/rc.d/powerd b/etc/rc.d/powerd index 2c0e796..54e75d1 100644 --- a/etc/rc.d/powerd +++ b/etc/rc.d/powerd @@ -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" 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]) |