From 607c69018b4f66ff9a3be3402f43c47eba6bbb38 Mon Sep 17 00:00:00 2001 From: anudanan Date: Sat, 29 Feb 2020 22:20:45 +0100 Subject: [PATCH] Fix for bad handling of oscam settings --- support/functions/_misc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/support/functions/_misc b/support/functions/_misc index e263f43..0bb8a47 100644 --- a/support/functions/_misc +++ b/support/functions/_misc @@ -581,19 +581,19 @@ save_config(){ done [ -f "$menudir/$_toolchainname.save" ] && rm -rf "$menudir/$_toolchainname.save" - printf "enabled=\"${enabled[*]}\"" >"$menudir/$_toolchainname.save" - printf "disabled=\"${disabled[*]}\"">>"$menudir/$_toolchainname.save" + printf "enabled=\"${enabled[*]}\"\n" >"$menudir/$_toolchainname.save" + printf "disabled=\"${disabled[*]}\"\n">>"$menudir/$_toolchainname.save" if [ "$stapi_allowed" == "1" ] then if [ "${#stapivar}" -gt "15" ] then - printf "stapivar=\"$stapivar\"">>"$menudir/$_toolchainname.save" - printf "usevars=\"$usevars $addstapi\"" >>"$menudir/$_toolchainname.save" + printf "stapivar=\"$stapivar\"\n">>"$menudir/$_toolchainname.save" + printf "usevars=\"$usevars $addstapi\"\n" >>"$menudir/$_toolchainname.save" else - printf "usevars=\"$usevars\"" >>"$menudir/$_toolchainname.save" + printf "usevars=\"$usevars\"\n" >>"$menudir/$_toolchainname.save" fi else - printf "usevars=\"$usevars\"" >>"$menudir/$_toolchainname.save" + printf "usevars=\"$usevars\"\n" >>"$menudir/$_toolchainname.save" fi };