From ec67b21335f65bbc5ea9ae9f6d3d2c2d10723ed8 Mon Sep 17 00:00:00 2001 From: Botspot Date: Tue, 20 Oct 2020 21:41:50 -0500 Subject: [PATCH] fix bugs --- settings | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/settings b/settings index 6f9828f..778d71c 100755 --- a/settings +++ b/settings @@ -65,10 +65,8 @@ while [ -z $exitloop ];do tooltips='' PREIFS="$IFS" IFS='|' - i=0 for name in $settings do - i=$((i+2)) params="$(cat "${DIRECTORY}/etc/setting-params/${name}" | grep -v '#')" #create file if necessary @@ -130,7 +128,7 @@ echo "Output: ${output}EOO" settings="$(ls "${DIRECTORY}/etc/setting-params" | tr '\n' '|')" PREIFS="$IFS" IFS='|' -settingnumber=1 +settingnumber=8 for name in $settings do curval="$(echo "$output" | sed -n "${settingnumber}p")"