- Allow ndo2db_configfile to be overridden correctly in /etc/rc.conf

Sponsored by:	RideCharge Inc. / TaxiMagic
This commit is contained in:
Philip M. Gollucci 2010-10-14 20:09:42 +00:00
parent e5d53ce9b2
commit 831d9b2740
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=263007
2 changed files with 4 additions and 2 deletions

View File

@ -7,7 +7,7 @@
PORTNAME= ndoutils
PORTVERSION= 1.4b8
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= net-mgmt
MASTER_SITES= SF/nagios/${PORTNAME}-1.x/${PORTNAME}-${PORTVERSION}

View File

@ -22,7 +22,9 @@ rcvar=${name}_enable
command="%%PREFIX%%/bin/ndo2db-3x"
required_files="${ndo2db_configfile}"
command_args="-c ${ndo2db_configfile}"
load_rc_config $name
command_args="-c ${ndo2db_configfile}"
run_rc_command "$1"