fix rc_stop, pointed out by dcoppa@
This commit is contained in:
parent
3527719fbf
commit
5b639b11a9
@ -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
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user