diff options
author | root <root@rshg054.dnsready.net> | 2011-10-19 23:14:52 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-10-19 23:14:52 +0000 |
commit | 6c5c865fa6674610732dd8427bf8f09f3c166299 (patch) | |
tree | 6873cd726394afbad834d3950d854e87b57cb2cd /community/cdemu-daemon/cdemud.rc | |
parent | 791dde5091677cd6370690f9df9fb7cbdcfe0968 (diff) |
Wed Oct 19 23:14:52 UTC 2011
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 |