summaryrefslogtreecommitdiffstats
path: root/etc/rc.d
diff options
context:
space:
mode:
authoryar <yar@FreeBSD.org>2005-10-28 16:10:56 +0000
committeryar <yar@FreeBSD.org>2005-10-28 16:10:56 +0000
commit63f6ebb546ed132567cbac85b5957f5dfda868f6 (patch)
tree42edc2993dfe786fd0f507986844270c4fba9484 /etc/rc.d
parente602bb9ed881512bc628bd5c83e1f15908447b31 (diff)
downloadFreeBSD-src-63f6ebb546ed132567cbac85b5957f5dfda868f6.zip
FreeBSD-src-63f6ebb546ed132567cbac85b5957f5dfda868f6.tar.gz
Use:
command="/path/to/${name}" since it's applicable here. It's the current style of rc.d. Pointed out by: pjd
Diffstat (limited to 'etc/rc.d')
-rw-r--r--etc/rc.d/ppp2
-rw-r--r--etc/rc.d/ppp-user2
2 files changed, 2 insertions, 2 deletions
diff --git a/etc/rc.d/ppp b/etc/rc.d/ppp
index 01c95f0..8a2d9e0 100644
--- a/etc/rc.d/ppp
+++ b/etc/rc.d/ppp
@@ -11,7 +11,7 @@
name="ppp"
rcvar=`set_rcvar`
-command="/usr/sbin/ppp"
+command="/usr/sbin/${name}"
start_precmd="ppp_precmd"
start_postcmd="ppp_postcmd"
diff --git a/etc/rc.d/ppp-user b/etc/rc.d/ppp-user
index 01c95f0..8a2d9e0 100644
--- a/etc/rc.d/ppp-user
+++ b/etc/rc.d/ppp-user
@@ -11,7 +11,7 @@
name="ppp"
rcvar=`set_rcvar`
-command="/usr/sbin/ppp"
+command="/usr/sbin/${name}"
start_precmd="ppp_precmd"
start_postcmd="ppp_postcmd"
OpenPOWER on IntegriCloud