From c9e8ec749958c70eb4101106ba1a49cc9ec806c7 Mon Sep 17 00:00:00 2001 From: Oron Peled Date: Mon, 21 Oct 2013 18:02:04 +0300 Subject: [PATCH] dahdi.rules: use tools_rootdir from driver Signed-off-by: Tzafrir Cohen Acked-by: Russ Meyerriecks --- dahdi.rules | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dahdi.rules b/dahdi.rules index b0e1e00..f983705 100644 --- a/dahdi.rules +++ b/dahdi.rules @@ -5,5 +5,5 @@ SUBSYSTEM=="dahdi", OWNER="asterisk", GROUP="asterisk", MODE="0660" SUBSYSTEM=="dahdi_channels", SYMLINK+="dahdi/%m" # hotplug support -SUBSYSTEM=="dahdi_devices", RUN="/usr/share/dahdi/handle_device" -SUBSYSTEM=="dahdi_spans", RUN="/usr/share/dahdi/span_config" +SUBSYSTEM=="dahdi_devices", RUN="%E{DAHDI_TOOLS_ROOTDIR}/usr/share/dahdi/handle_device" +SUBSYSTEM=="dahdi_spans", RUN="%E{DAHDI_TOOLS_ROOTDIR}/usr/share/dahdi/span_config"