summaryrefslogtreecommitdiffstats
path: root/extra/alsa-utils/40-alsa.rules
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-08-09 14:16:34 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-08-09 14:16:34 +0200
commitcdd6e164ebad371c82dc04f72fb35625072b42cc (patch)
treef981844313f0d1a0a803ca2b7ab702664ba0a77f /extra/alsa-utils/40-alsa.rules
parent90badc78d656d486cf6432e972536c47ad2d517c (diff)
downloadnutyx-extra-cdd6e164ebad371c82dc04f72fb35625072b42cc.tar.gz
nutyx-extra-cdd6e164ebad371c82dc04f72fb35625072b42cc.tar.bz2
nutyx-extra-cdd6e164ebad371c82dc04f72fb35625072b42cc.tar.xz
nutyx-extra-cdd6e164ebad371c82dc04f72fb35625072b42cc.zip
Ajout de alsa-utils#1.0.20-1
Diffstat (limited to 'extra/alsa-utils/40-alsa.rules')
-rw-r--r--extra/alsa-utils/40-alsa.rules4
1 files changed, 4 insertions, 0 deletions
diff --git a/extra/alsa-utils/40-alsa.rules b/extra/alsa-utils/40-alsa.rules
new file mode 100644
index 000000000..12e570dd8
--- /dev/null
+++ b/extra/alsa-utils/40-alsa.rules
@@ -0,0 +1,4 @@
+# /etc/udev/rules.d/40-alsa.rules
+
+# When a sound device is detected, restore the volume settings
+KERNEL=="controlC[0-9]*", ACTION=="add", RUN+="/usr/sbin/alsactl restore %n"