fix rc_stop, pointed out by dcoppa@

This commit is contained in:
sthen 2011-07-01 10:54:53 +00:00
parent 3527719fbf
commit 5b639b11a9
2 changed files with 5 additions and 4 deletions

View File

@ -1,8 +1,9 @@
# $OpenBSD: Makefile,v 1.12 2011/06/02 20:01:19 sthen Exp $
# $OpenBSD: Makefile,v 1.13 2011/07/01 10:54:53 sthen Exp $
COMMENT= management tool for Ubiquiti wireless devices
DISTNAME= aircontrol-1.3.8-beta
REVISION= 0
PKGNAME= ${DISTNAME:S/-beta/beta/}
CATEGORIES= net

View File

@ -1,6 +1,6 @@
#!/bin/sh
#
# $OpenBSD: aircontrol.rc,v 1.5 2011/04/18 16:16:47 ajacoutot Exp $
# $OpenBSD: aircontrol.rc,v 1.6 2011/07/01 10:54:53 sthen Exp $
daemon="${TRUEPREFIX}/bin/catalina.sh"
daemon_flags="-Xmx768M -server"
@ -19,8 +19,8 @@ rc_start() {
}
rc_stop() {
CATALINA_OPTS=\"${daemon_flags}\" \
JAVA_HOME=\"$(${LOCALBASE}/bin/javaPathHelper -h aircontrol)\" \
CATALINA_OPTS="${daemon_flags}" \
JAVA_HOME="$(${LOCALBASE}/bin/javaPathHelper -h aircontrol)" \
${daemon} stop
}