[kernel] upgrade to 2.6.25.7, and refresh patches
[openwrt.git] / include / shell.sh
index 1e60692..f6be6c5 100644 (file)
@@ -28,3 +28,7 @@ trapret() {(
                }
        }
 )}
+
+md5s() {
+       which md5sum 2>&1 >/dev/null && md5sum "$@" | awk '{print $1}' || md5 "$@"
+}