1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00

net/dhcprelay: Fix RC script

PR:		192994
Submitted by:	Denys Razumov
Approved by:	maintainer timeout (~1 month)
This commit is contained in:
John Marino 2014-09-20 19:01:46 +00:00
parent 5ed37ddf78
commit 788fbfbdc6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=368675
2 changed files with 7 additions and 8 deletions

View File

@ -3,7 +3,7 @@
PORTNAME= dhcprelay
PORTVERSION= 1.2
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= net
MASTER_SITES= http://www.mavetju.org/download/

View File

@ -15,16 +15,15 @@
. /etc/rc.subr
name=dhcprelay
rcvar=dhcprelay_enable
rcvar=${name}_enable
load_rc_config ${name}
: ${dhcprelay_enable="NO"}
: ${dhcprelay_ifaces=""}
pidfile=/var/run/${name}.pid
command=%%PREFIX%%/bin/${name}
command_args="${dhcprelay_ifaces} ${dhcprelay_server}"
# echo $rc_flags
load_rc_config ${name}
dhcprelay_enable=${dhcprelay_enable:-"NO"}
run_rc_command "$1"