Fix path for virtual_oss when checking pidfile in rc.d file.
PR: 250046 Approved by: pi (implicit)
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= virtual_oss
|
||||
PORTVERSION= 1.2.6
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 3
|
||||
CATEGORIES= audio
|
||||
MASTER_SITES= http://www.selasky.org/hans_petter/distfiles/ \
|
||||
http://home.selasky.org/distfiles/
|
||||
|
||||
@@ -95,7 +95,7 @@ stop_instance()
|
||||
if [ -z "${instance_args}" ]; then
|
||||
echo "No such config ${config}"
|
||||
elif [ -e "${pidpath}/${config}.pid" ]; then
|
||||
pid=`check_pidfile ${pidpath}/${config}.pid ${command}`
|
||||
pid=`check_pidfile ${pidpath}/${config}.pid %%PREFIX%%/sbin/virtual_oss`
|
||||
if [ ! -z "${pid}" ]; then
|
||||
echo -n "Stopping Virtual OSS config ${config} ... "
|
||||
kill $pid
|
||||
|
||||
Reference in New Issue
Block a user