summaryrefslogtreecommitdiff
path: root/extras/mtd_probe/75-probe_mtd.rules.in
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/75-probe_mtd.rules.in
parentc096407caaf1f3c03bb816e195eebb886662b03a (diff)
use libexecdir, bindir, sbindir, switch to /usr/lib/udev in documentation
Diffstat (limited to 'extras/mtd_probe/75-probe_mtd.rules.in')
-rw-r--r--extras/mtd_probe/75-probe_mtd.rules.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/extras/mtd_probe/75-probe_mtd.rules.in b/extras/mtd_probe/75-probe_mtd.rules.in
new file mode 100644
index 0000000000..2e28d37fa3
--- /dev/null
+++ b/extras/mtd_probe/75-probe_mtd.rules.in
@@ -0,0 +1,8 @@
+# do not edit this file, it will be overwritten on update
+
+ACTION!="add", GOTO="mtd_probe_end"
+
+KERNEL=="mtd*ro", IMPORT{program}="mtd_probe $tempnode"
+KERNEL=="mtd*ro", ENV{MTD_FTL}=="smartmedia", RUN+="@sbindir@/modprobe -bv sm_ftl"
+
+LABEL="mtd_probe_end"