diff options
author | Lars Engels <lme@FreeBSD.org> | 2008-01-01 16:13:00 +0000 |
---|---|---|
committer | Lars Engels <lme@FreeBSD.org> | 2008-01-01 16:13:00 +0000 |
commit | b81d36b196acc201aaa2334073da1d2d862983f5 (patch) | |
tree | 37af5f8464035382315901a3472b603dd98518ac /net/dhcpcd/files | |
parent | c30d826c1402686045abf2d0ae00f5b9daf82c3c (diff) | |
download | ports-b81d36b196acc201aaa2334073da1d2d862983f5.tar.gz ports-b81d36b196acc201aaa2334073da1d2d862983f5.zip |
Notes
Diffstat (limited to 'net/dhcpcd/files')
-rw-r--r-- | net/dhcpcd/files/dhcpcd.in | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/dhcpcd/files/dhcpcd.in b/net/dhcpcd/files/dhcpcd.in index 1dd02b1a0d01..8e3fe04a8b70 100644 --- a/net/dhcpcd/files/dhcpcd.in +++ b/net/dhcpcd/files/dhcpcd.in @@ -4,12 +4,12 @@ # KEYWORD: nojail nostart # -. /etc/rc.subr +. %%RC_SUBR%% . /etc/network.subr name="dhcpcd" ifn="$2" -command="/usr/local/sbin/dhcpcd" +command="%%PREFIX%%/sbin/dhcpcd" command_args="$ifn" pidfile="/var/run/dhcpcd-$ifn.pid" start_precmd="dhcpcd_precmd" @@ -23,7 +23,7 @@ dhcpcd_precmd() fi # dhcpcd may need local binaries - export PATH=${PATH}:/usr/local/sbin + export PATH=${PATH}:%%PREFIX%%/sbin } load_rc_config $name |