[PC-BSD Commits] r18591 - in pcbsd/current/overlays/desktop-overlay: etc usr/local/share/pcbsd/scripts
svn at pcbsd.org
svn at pcbsd.org
Fri Aug 24 07:14:25 PDT 2012
Author: kris
Date: 2012-08-24 14:14:24 +0000 (Fri, 24 Aug 2012)
New Revision: 18591
Added:
pcbsd/current/overlays/desktop-overlay/usr/local/share/pcbsd/scripts/gen-pcm-oss.sh
Modified:
pcbsd/current/overlays/desktop-overlay/etc/devd.conf
Log:
Add new devd script to refresh linux OSS file when a audio device changes.
Submitted by: Vans
Modified: pcbsd/current/overlays/desktop-overlay/etc/devd.conf
===================================================================
--- pcbsd/current/overlays/desktop-overlay/etc/devd.conf 2012-08-24 13:15:22 UTC (rev 18590)
+++ pcbsd/current/overlays/desktop-overlay/etc/devd.conf 2012-08-24 14:14:24 UTC (rev 18591)
@@ -263,6 +263,23 @@
action "ifconfig lagg0 laggport wlan0";
};
+# Action to take when we add / remove a sound device
+notify 15 {
+ match "system" "DEVFS";
+ match "subsystem" "CDEV";
+ match "type" "CREATE";
+ match "cdev" "mixer[0-9]+";
+ action "sleep 2 ; /usr/local/share/pcbsd/scripts/gen-pcm-oss.sh";
+};
+
+notify 15 {
+ match "system" "DEVFS";
+ match "subsystem" "CDEV";
+ match "type" "DESTROY";
+ match "cdev" "mixer[0-9]+";
+ action "sleep 2 ; /usr/local/share/pcbsd/scripts/gen-pcm-oss.sh";
+};
+
/* EXAMPLES TO END OF FILE
# The following might be an example of something that a vendor might
Index: pcbsd/current/overlays/desktop-overlay/usr/local/share/pcbsd/scripts/gen-pcm-oss.sh
===================================================================
--- pcbsd/current/overlays/desktop-overlay/usr/local/share/pcbsd/scripts/gen-pcm-oss.sh 2012-08-24 13:15:22 UTC (rev 18590)
+++ pcbsd/current/overlays/desktop-overlay/usr/local/share/pcbsd/scripts/gen-pcm-oss.sh 2012-08-24 14:14:24 UTC (rev 18591)
Property changes on: pcbsd/current/overlays/desktop-overlay/usr/local/share/pcbsd/scripts/gen-pcm-oss.sh
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
More information about the Commits
mailing list