summaryrefslogtreecommitdiff
path: root/src/grp-udev/mtd_probe
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-08-17 01:33:02 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-08-17 01:33:02 -0400
commit610d801297fe7e46c319e6da4e6571aaded630dd (patch)
treed27f6d077694b84ed9881c99b2894701932ca6e1 /src/grp-udev/mtd_probe
parent7648bff2717c24e9f5c90ec9e4588eda510aba9d (diff)
more
Diffstat (limited to 'src/grp-udev/mtd_probe')
-rw-r--r--src/grp-udev/mtd_probe/75-probe_mtd.rules7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/grp-udev/mtd_probe/75-probe_mtd.rules b/src/grp-udev/mtd_probe/75-probe_mtd.rules
new file mode 100644
index 0000000000..8848aeeaed
--- /dev/null
+++ b/src/grp-udev/mtd_probe/75-probe_mtd.rules
@@ -0,0 +1,7 @@
+# do not edit this file, it will be overwritten on update
+
+ACTION!="add", GOTO="mtd_probe_end"
+
+KERNEL=="mtd*ro", IMPORT{program}="mtd_probe $devnode"
+
+LABEL="mtd_probe_end"