net/gmid: fix rc script

Also bump PORTREVISION.

PR:	255530
This commit is contained in:
Omar Polo 2021-05-05 18:30:46 -07:00 committed by Neel Chauhan
parent ec612a6435
commit b7125c22c6
2 changed files with 3 additions and 2 deletions

View file

@ -1,5 +1,6 @@
PORTNAME= gmid
DISTVERSION= v1.6.1
PORTREVISION= 1
CATEGORIES= net
MAINTAINER= freebsd@omarpolo.com

View file

@ -29,14 +29,14 @@ extra_commands="configtest"
load_rc_config $name
command="%%PREFIX%%/bin/${name}"
command_flags="-c ${gmid_config}"
gmid_flags="-c ${gmid_config}"
required_files="${gmid_config}"
gmid_checkconfig()
{
echo "Performing sanity check on gmid configuration:"
eval ${command} -n ${command_flags}
eval ${command} -n ${gmid_flags}
}
run_rc_command "$1"