Aff I send the wrong file, from the folder factorio0.17.6 and the right one is the 0.17.12.. ehehehe.. i will send again now...
The code i made was:
if (mods["LogisticTrainNetwork"]) then
if settings.startup["starting-rail"].value then
data.raw["recipe"]["logistic-train-stop"].enabled = true
end
if settings.startup["free-rail"].value then
data.raw["recipe"]["logistic-train-stop"].ingredients = {}
end
end