libsls - generate_settings.sh (WIP - Fix cleanup temporary in the case of success)