chiark / gitweb /
remove mknod() logic and rely on 'devtmpfs'
[elogind.git] / extras / mtd_probe / 75-probe_mtd.rules
index 1d1b398175d337287ee621a24006eebb27c3297d..c0e08397858a98cc94498e73cfa079d14fcb57aa 100644 (file)
@@ -1,10 +1,8 @@
-#probe mtd devices for FTL
+# 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+="/sbin/modprobe sm_ftl"
-
+KERNEL=="mtd*ro", IMPORT{program}="mtd_probe $devnode"
+KERNEL=="mtd*ro", ENV{MTD_FTL}=="smartmedia", IMPORT{builtin}="kmod load sm_ftl"
 
 LABEL="mtd_probe_end"
-