summaryrefslogtreecommitdiff
path: root/extras/mtd_probe/75-probe_mtd.rules.in
diff options
context:
space:
mode:
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"