aboutsummaryrefslogtreecommitdiff
path: root/files/sound
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-05-08 10:31:55 -0300
committerSilvio Rhatto <rhatto@riseup.net>2013-05-08 10:31:55 -0300
commit9500c33e6226e8a16887d861cf0669f6986d3a98 (patch)
tree851f5d33de630f16e9c32b2ff3f8e3d8dc7e3b56 /files/sound
parentf4a471d90689af930dd2325481abcafb84942c04 (diff)
downloadpuppet-nodo-9500c33e6226e8a16887d861cf0669f6986d3a98.tar.gz
puppet-nodo-9500c33e6226e8a16887d861cf0669f6986d3a98.tar.bz2
Updating devices.sh
Diffstat (limited to 'files/sound')
-rw-r--r--files/sound/devices.sh12
1 files 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