diff options
Diffstat (limited to 'community/cdemu-daemon/cdemud.rc')
-rw-r--r-- | community/cdemu-daemon/cdemud.rc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/community/cdemu-daemon/cdemud.rc b/community/cdemu-daemon/cdemud.rc index c13fa6239..6e1b0b091 100644 --- a/community/cdemu-daemon/cdemud.rc +++ b/community/cdemu-daemon/cdemud.rc @@ -7,7 +7,6 @@ case "$1" in start) stat_busy "Loading vhba and loop modules" - modprobe loop modprobe vhba if [ $? -ne 0 ]; then stat_fail @@ -28,7 +27,7 @@ case "$1" in fi stat_busy "Starting cdemud" - cdemud -d -n $NUM_DRIVES -c $CTL_DEVICE -a $AUDIO_BACKEND &>/dev/null + cdemud --ctl-device=$CTL_DEVICE --bus=$SYSTEM --num-devices=$NUM_DEVICES --audio-driver=$AUDIO_DRIVER --logfile=$LOG_FILE & if [ $? -ne 0 ]; then stat_fail else @@ -38,7 +37,7 @@ case "$1" in ;; stop) stat_busy "Stopping cdemud" - cdemud -k &>/dev/null + kill -9 `pidof cdemud` &>/dev/null && sleep 1 && rmmod vhba if [ $? -ne 0 ]; then stat_fail else |