summaryrefslogtreecommitdiff
path: root/community-testing/cdemu-daemon/cdemud.rc
diff options
context:
space:
mode:
Diffstat (limited to 'community-testing/cdemu-daemon/cdemud.rc')
-rw-r--r--community-testing/cdemu-daemon/cdemud.rc8
1 files changed, 4 insertions, 4 deletions
diff --git a/community-testing/cdemu-daemon/cdemud.rc b/community-testing/cdemu-daemon/cdemud.rc
index 21cae0a26..e8dab1f08 100644
--- a/community-testing/cdemu-daemon/cdemud.rc
+++ b/community-testing/cdemu-daemon/cdemud.rc
@@ -14,20 +14,20 @@ case "$1" in
stat_done
fi
- stat_busy "Waiting for $CTL_DEVICE"
+ stat_busy "Waiting for /dev/vhba_ctl"
i=0
- until [ -c $CTL_DEVICE -o $i -ge 10 ]; do
+ until [ -c /dev/vhba_ctl -o $i -ge 10 ]; do
i=`expr $i + 1`
sleep 1
done
- if [ -c $CTL_DEVICE ]; then
+ if [ -c /dev/vhba_ctl ]; then
stat_done
else
stat_fail
fi
stat_busy "Starting cdemud"
- cdemud --ctl-device=$CTL_DEVICE --bus=$BUS --num-devices=$NUM_DEVICES --audio-driver=$AUDIO_DRIVER --logfile=$LOG_FILE &
+ cdemud --ctl-device=/dev/vhba_ctl --bus=$BUS --num-devices=$NUM_DEVICES --audio-driver=$AUDIO_DRIVER --logfile=$LOG_FILE &
if [ $? -ne 0 ]; then
stat_fail
else