From 4ab8e95d0b730b6c2d52e3bd16719e6d7602a36a Mon Sep 17 00:00:00 2001 From: Tzafrir Cohen Date: Wed, 11 Dec 2013 12:35:49 +0200 Subject: [PATCH] dahdi.rules: Replace SYSFS with ATTRS SYSFS has been deprecated. Use ATTRS. Signed-off-by: Tzafrir Cohen Acked-by: Shaun Ruffell Acked-by: Russ Meyerriecks --- dahdi.rules | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"