NOT FOR UPSTREAM: remove explicit busybox calls

This commit is contained in:
2023-06-27 08:03:46 +00:00
parent 2c0c56dfca
commit c2cf64e7ca

View File

@@ -8,7 +8,7 @@ case "$1" in
exit exit
esac esac
case "$(busybox head -n1 "$1")" in case "$(head -n1 "$1")" in
"#"*) "#"*)
comment="#" comment="#"
;; ;;
@@ -23,7 +23,7 @@ case "$(busybox head -n1 "$1")" in
;; ;;
esac esac
busybox md5sum "$1" | \ md5sum "$1" | \
busybox cut -d" " -f1 | \ cut -d" " -f1 | \
busybox xargs -I{} busybox sed -i "2i$comment configversion: {}" \ xargs -I{} sed -i "2i$comment configversion: {}" \
"$1" "$1"