Commit bed76424 authored by Phil's avatar Phil
Browse files

fix cdemu-daemon

parent 42ce59c5
KERNEL=="vhba_ctl", MODE="0660", OWNER="root", GROUP="cdemu"
KERNEL=="vhba_ctl", NAME="%k", MODE="0660", OWNER="root", GROUP="cdemu"
......@@ -9,7 +9,7 @@ source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=cdemu-daemon
pkgver=1.4.0
pkgrel=1
pkgrel=2
pkgdesc="CD/DVD-ROM device emulator daemon"
arch=('i686' 'x86_64')
backup=('etc/conf.d/cdemud'
......@@ -23,9 +23,9 @@ source=(http://downloads.sourceforge.net/cdemu/$pkgname-$pkgver.tar.gz
cdemud.rc
60-vhba.rules)
md5sums=('f7ccc0abc33057d552ec7b0925fce63a'
'26b94a626c2c1d0a83ad5a7593dff70f'
'655b2bf46802f2fa7821a649cecd1c4d'
'f551504552d7693ac79e8e0d302f62b9')
'ec4221e5a43f25fe3d40c7f5a5a70425'
'b4ad27ab2a0ce037bb131c29f1476594'
'93324b320e7b68d01ad9a0b548018ed5')
build() {
cd $srcdir/$pkgname-$pkgver
......
......@@ -6,3 +6,7 @@ CTL_DEVICE=/dev/vhba_ctl
# audio backend (null or alsa)
AUDIO_BACKEND=null
DAEMON="/usr/bin/cdemud"
BUS="session"
LOG_FILE="/var/log/cdemu.log"
\ No newline at end of file
......@@ -28,7 +28,7 @@ case "$1" in
fi
stat_busy "Starting cdemud"
cdemud -d -n $NUM_DRIVES -c $CTL_DEVICE -a $AUDIO_BACKEND &>/dev/null
cdemud -n $NUM_DRIVES -c $CTL_DEVICE -a $AUDIO_BACKEND -b $BUS -l $LOG_FILE &>/dev/null
if [ $? -ne 0 ]; then
stat_fail
else
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment