kernel: add md5sum of kernel
[openwrt.git] / package / base-files / files / lib / preinit / 10_check_for_mtd
index e1f3c07..66f185e 100644 (file)
@@ -10,7 +10,7 @@ mount_no_mtd() {
 
 check_for_mtd() {
     check_skip || {
-       grep rootfs_data /proc/mtd >/dev/null 2>/dev/null || {
+       grep -qs rootfs_data /proc/mtd || {
            mount_no_mtd && pi_mount_skip_next=true
        }
     }
This page took 0.027538 seconds and 4 git commands to generate.