[dahdi-commits] dahdi/tools.git branch "master" updated.

SVN commits to the DAHDI project dahdi-commits at lists.digium.com
Thu Dec 12 15:48:17 CST 2013


branch "master" has been updated
       via  5e75fa48f48d32eae8f037173ed94b8116fe1f21 (commit)
       via  4ab8e95d0b730b6c2d52e3bd16719e6d7602a36a (commit)
      from  5ca600c7c79e8d10d63dd2703b3902b4c4548eb5 (commit)

Summary of changes:
 dahdi.rules |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)


- Log -----------------------------------------------------------------
commit 5e75fa48f48d32eae8f037173ed94b8116fe1f21
Author: Tzafrir Cohen <tzafrir.cohen at xorcom.com>
Date:   Thu Dec 12 15:45:14 2013 +0200

    dahdi.rules: use += for RUN
    
    Signed-off-by: Tzafrir Cohen <tzafrir.cohen at xorcom.com>
    Acked-by: Shaun Ruffell <sruffell at digium.com>
    Acked-by: Russ Meyerriecks <rmeyerriecks at digium.com>

diff --git a/dahdi.rules b/dahdi.rules
index 91128fb..f5eef2e 100644
--- a/dahdi.rules
+++ b/dahdi.rules
@@ -14,5 +14,5 @@ SUBSYSTEM=="dahdi_channels", ATTRS{location}!="",	SYMLINK+="dahdi/devices/@%s{lo
 LABEL="dahdi_add_end"
 
 # hotplug scripts
-SUBSYSTEM=="dahdi_devices",	RUN="%E{DAHDI_TOOLS_ROOTDIR}/usr/share/dahdi/dahdi_handle_device"
-SUBSYSTEM=="dahdi_spans",	RUN="%E{DAHDI_TOOLS_ROOTDIR}/usr/share/dahdi/dahdi_span_config"
+SUBSYSTEM=="dahdi_devices",	RUN+="%E{DAHDI_TOOLS_ROOTDIR}/usr/share/dahdi/dahdi_handle_device"
+SUBSYSTEM=="dahdi_spans",	RUN+="%E{DAHDI_TOOLS_ROOTDIR}/usr/share/dahdi/dahdi_span_config"

commit 4ab8e95d0b730b6c2d52e3bd16719e6d7602a36a
Author: Tzafrir Cohen <tzafrir.cohen at xorcom.com>
Date:   Wed Dec 11 12:35:49 2013 +0200

    dahdi.rules: Replace SYSFS with ATTRS
    
    SYSFS has been deprecated. Use ATTRS.
    
    Signed-off-by: Tzafrir Cohen <tzafrir.cohen at xorcom.com>
    Acked-by: Shaun Ruffell <sruffell at digium.com>
    Acked-by: Russ Meyerriecks <rmeyerriecks at digium.com>

diff --git a/dahdi.rules b/dahdi.rules
index df79ce7..91128fb 100644
--- a/dahdi.rules
+++ b/dahdi.rules
@@ -8,8 +8,8 @@ SUBSYSTEM=="dahdi",		OWNER="asterisk", GROUP="asterisk", MODE="0660"
 SUBSYSTEM=="dahdi_channels",	SYMLINK+="dahdi/%m"
 
 # Add persistant names as well
-SUBSYSTEM=="dahdi_channels", SYSFS{hardware_id}!="",	SYMLINK+="dahdi/devices/%s{hardware_id}/%s{local_spanno}/%n"
-SUBSYSTEM=="dahdi_channels", SYSFS{location}!="",	SYMLINK+="dahdi/devices/@%s{location}/%s{local_spanno}/%n"
+SUBSYSTEM=="dahdi_channels", ATTRS{hardware_id}!="",	SYMLINK+="dahdi/devices/%s{hardware_id}/%s{local_spanno}/%n"
+SUBSYSTEM=="dahdi_channels", ATTRS{location}!="",	SYMLINK+="dahdi/devices/@%s{location}/%s{local_spanno}/%n"
 
 LABEL="dahdi_add_end"
 

-----------------------------------------------------------------------


-- 
dahdi/tools.git



More information about the dahdi-commits mailing list