summaryrefslogtreecommitdiff
path: root/extras/mtd_probe
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2011-12-01 12:17:22 +0100
committerKay Sievers <kay.sievers@vrfy.org>2011-12-05 17:23:56 +0100
commit12a362be5c1982f80dbfb75bda070208a2c99cdf (patch)
tree1f02a514c1675e38628fdce89fc3cf890dec19c2 /extras/mtd_probe
parentc096407caaf1f3c03bb816e195eebb886662b03a (diff)
use libexecdir, bindir, sbindir, switch to /usr/lib/udev in documentation
Diffstat (limited to 'extras/mtd_probe')
-rw-r--r--extras/mtd_probe/.gitignore1
-rw-r--r--extras/mtd_probe/75-probe_mtd.rules.in (renamed from extras/mtd_probe/75-probe_mtd.rules)2
2 files changed, 2 insertions, 1 deletions
diff --git a/extras/mtd_probe/.gitignore b/extras/mtd_probe/.gitignore
index 82b8ab501f..70d3e8310e 100644
--- a/extras/mtd_probe/.gitignore
+++ b/extras/mtd_probe/.gitignore
@@ -1 +1,2 @@
mtd_probe
+75-probe_mtd.rules
diff --git a/extras/mtd_probe/75-probe_mtd.rules b/extras/mtd_probe/75-probe_mtd.rules.in
index 184fda58a9..2e28d37fa3 100644
--- a/extras/mtd_probe/75-probe_mtd.rules
+++ b/extras/mtd_probe/75-probe_mtd.rules.in
@@ -3,6 +3,6 @@
ACTION!="add", GOTO="mtd_probe_end"
KERNEL=="mtd*ro", IMPORT{program}="mtd_probe $tempnode"
-KERNEL=="mtd*ro", ENV{MTD_FTL}=="smartmedia", RUN+="/sbin/modprobe -bv sm_ftl"
+KERNEL=="mtd*ro", ENV{MTD_FTL}=="smartmedia", RUN+="@sbindir@/modprobe -bv sm_ftl"
LABEL="mtd_probe_end"