From 9500c33e6226e8a16887d861cf0669f6986d3a98 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Wed, 8 May 2013 10:31:55 -0300 Subject: Updating devices.sh --- files/sound/devices.sh | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/files/sound/devices.sh b/files/sound/devices.sh index 00d9168..b112082 100644 --- a/files/sound/devices.sh +++ b/files/sound/devices.sh @@ -16,14 +16,16 @@ if [ "$2" == "--check" ]; then fi fi -mkdir $ROOT/dev/snd -mknod $ROOT/dev/snd/controlC0 c 116 7 -mknod $ROOT/dev/snd/hwC0D2 c 116 6 -mknod $ROOT/dev/snd/pcmC0D0c c 116 5 -mknod $ROOT/dev/snd/pcmC0D0p c 116 4 +mkdir -p $ROOT/dev/snd +mknod $ROOT/dev/snd/controlC1 c 116 6 +mknod $ROOT/dev/snd/pcmC1D0c c 116 5 +mknod $ROOT/dev/snd/pcmC1D0p c 116 4 mknod $ROOT/dev/snd/seq c 116 3 mknod $ROOT/dev/snd/timer c 116 2 +chown root:audio $ROOT/dev/snd/* +chmod 660 $ROOT/dev/snd/* + if [ -z "$VSERVER" ]; then chown -R root:audio /dev/snd else -- cgit v1.2.3