net/gmid: fix rc script
Also bump PORTREVISION. PR: 255530
This commit is contained in:
parent
ec612a6435
commit
b7125c22c6
2 changed files with 3 additions and 2 deletions
|
@ -1,5 +1,6 @@
|
||||||
PORTNAME= gmid
|
PORTNAME= gmid
|
||||||
DISTVERSION= v1.6.1
|
DISTVERSION= v1.6.1
|
||||||
|
PORTREVISION= 1
|
||||||
CATEGORIES= net
|
CATEGORIES= net
|
||||||
|
|
||||||
MAINTAINER= freebsd@omarpolo.com
|
MAINTAINER= freebsd@omarpolo.com
|
||||||
|
|
|
@ -29,14 +29,14 @@ extra_commands="configtest"
|
||||||
load_rc_config $name
|
load_rc_config $name
|
||||||
|
|
||||||
command="%%PREFIX%%/bin/${name}"
|
command="%%PREFIX%%/bin/${name}"
|
||||||
command_flags="-c ${gmid_config}"
|
gmid_flags="-c ${gmid_config}"
|
||||||
|
|
||||||
required_files="${gmid_config}"
|
required_files="${gmid_config}"
|
||||||
|
|
||||||
gmid_checkconfig()
|
gmid_checkconfig()
|
||||||
{
|
{
|
||||||
echo "Performing sanity check on gmid configuration:"
|
echo "Performing sanity check on gmid configuration:"
|
||||||
eval ${command} -n ${command_flags}
|
eval ${command} -n ${gmid_flags}
|
||||||
}
|
}
|
||||||
|
|
||||||
run_rc_command "$1"
|
run_rc_command "$1"
|
||||||
|
|
Loading…
Reference in a new issue