From d0973b28b38ada0a39b82e3868dd785cb87c8cc3 Mon Sep 17 00:00:00 2001 From: Nathaniel Wesley Filardo Date: Mon, 30 Jan 2017 15:07:37 -0500 Subject: [PATCH] nwfnet-go: Just delete the config file already Unless explicitly told to keep it for some reason. --- net/nwfnet-go.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/nwfnet-go.lua b/net/nwfnet-go.lua index a98e9b8..b395820 100644 --- a/net/nwfnet-go.lua +++ b/net/nwfnet-go.lua @@ -25,7 +25,7 @@ if file.open("nwfnet.conf","r") then else wifi.setmode(wifi.STATION) end - print("Applied settings from nwfnet.conf; likely, you want to remove this file...") + if not conf["keepfile"] then file.remove("nwfnet.conf") end else print("nwfnet.conf malformed") end file.close() -- 2.50.1