make busybox autorebuild on relevant config changes
[openwrt/openwrt.git] / include / shell.sh
index 1e60692..db41003 100644 (file)
@@ -28,3 +28,7 @@ trapret() {(
                }
        }
 )}
                }
        }
 )}
+
+md5s() {
+       which md5sum 2>&- >&- && md5sum "$@" | awk '{print $1}' || md5 "$@"
+}