Skip to content

Commit

Permalink
Extra spaces get into synoinfo.conf keys
Browse files Browse the repository at this point in the history
  • Loading branch information
pocopico committed Jun 4, 2023
1 parent 35a9422 commit 04e117a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions buildroot/board/tcrpfriend/rootfs-overlay/root/boot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ function patchramdisk() {

while IFS=":" read KEY VALUE; do
echo "Key : $KEY Value: $VALUE"
_set_conf_kv "${KEY}" "${VALUE}" $temprd/etc/synoinfo.conf
_set_conf_kv ${KEY} "${VALUE}" $temprd/etc/synoinfo.conf
echo "_set_conf_kv \"${KEY}\" \"${VALUE}\" /tmpRoot/etc/synoinfo.conf" >>"/root/rp.txt"
echo "_set_conf_kv \"${KEY}\" \"${VALUE}\" /tmpRoot/etc.defaults/synoinfo.conf" >>"/root/rp.txt"
done <<<$(echo $SYNOINFO_PATCH | jq . | grep ":" | sed -e 's/"//g' | sed -e 's/,//g')
Expand All @@ -229,7 +229,7 @@ function patchramdisk() {

while IFS=":" read KEY VALUE; do
echo "Key : $KEY Value: $VALUE"
_set_conf_kv "${KEY}" "${VALUE}" $temprd/etc/synoinfo.conf
_set_conf_kv ${KEY} "${VALUE}" $temprd/etc/synoinfo.conf
echo "_set_conf_kv \"${KEY}\" \"${VALUE}\" /tmpRoot/etc/synoinfo.conf" >>"/root/rp.txt"
echo "_set_conf_kv \"${KEY}\" \"${VALUE}\" /tmpRoot/etc.defaults/synoinfo.conf" >>"/root/rp.txt"
done <<<$(echo $SYNOINFO_USER | jq . | grep ":" | sed -e 's/"//g' | sed -e 's/,//g')
Expand Down

0 comments on commit 04e117a

Please sign in to comment.