The mmc_over_gpio package spits out "configfs on /config type configfs
(rw,relatime)" after first run. This fixes it.

Signed-off-by: Scott Nicholas <[email protected]>

--- a/package/mmc_over_gpio/files/mmc_over_gpio.init    2010-10-12
22:40:48.230463672 -0400
+++ b/package/mmc_over_gpio/files/mmc_over_gpio.init    2010-10-31
01:00:50.941151180 -0400
@@ -37,7 +37,7 @@

 mount_configfs() {
        # FIXME: This should probably be done somewhere else.
-       mount | grep configfs
+       mount | grep -q configfs
        if [ $? -eq 0 ]; then
                # already mounted
                return 0
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to