#!/sbin/runscript
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
-opts="${opts} reload"
+extra_started_commands="reload"
YATE_PIDFILE=${YATE_PIDFILE:-/var/run/${SVCNAME}.pid}
YATE_BINARY=${YATE_BINARY:-/usr/bin/yate}
reload() {
ebegin "Reloading ${SVCNAME}"
- start-stop-daemon --stop --exec "${YATE_BINARY}" \
- --pidfile "${YATE_PIDFILE}" --signal HUP --oknodo
+ start-stop-daemon --signal HUP --exec "${YATE_BINARY}" \
+ --pidfile "${YATE_PIDFILE}"
eend $?
}
IUSE="rad1 usrp1 uhd +bladerf cpu_flags_x86_sse3 cpu_flags_x86_sse4_1"
RDEPEND="
- =net-voip/yate-5.4.0:=[gsm]
+ =net-voip/yate-5.4.0-r1:=[gsm]
bladerf? ( net-wireless/bladerf:= )
uhd? ( net-wireless/uhd )
virtual/libusb:1"