NOT FOR UPSTREAM: remove explicit busybox calls

This commit is contained in:
Colin 2023-06-27 08:03:46 +00:00
parent 2c0c56dfca
commit c2cf64e7ca
1 changed files with 4 additions and 4 deletions

View File

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