imx6: ventana: remove invalid video options from bootscript
[openwrt.git] / include / shell.sh
index 1e60692..6389304 100644 (file)
@@ -28,3 +28,10 @@ trapret() {(
                }
        }
 )}
+
+md5s() {
+       cat "$@" | (
+               md5sum 2>/dev/null ||
+               md5
+       ) | awk '{print $1}'
+}