beuhh, ma superbe procédure de configuration automatique du wifi ne fonctionne plus :-(

This commit is contained in:
Christian Zufferey
2020-01-06 00:17:23 +01:00
parent f3ee385aab
commit 40ab0cde4b
5 changed files with 112 additions and 20 deletions

View File

@@ -1,11 +1,13 @@
-- Scripts à charger après le boot pour démarrer le core system
print("\n boot.lua zf200101.1235 \n")
print("\n boot.lua zf200105.2358 \n")
function boot()
gpio.trig(zswitch, "none") hvbouton=nil zswitch=nil reset_reason=nil
if zswitch ~= nill then
gpio.trig(zswitch, "none") hvbouton=nil zswitch=nil reset_reason=nil
end
f= "wifi_init.lua" if file.exists(f) then dofile(f) end
f= "telnet_srv2.lua" if file.exists(f) then dofile(f) end
f= "web_srv2.lua" if file.exists(f) then dofile(f) end
f= "wifi_init.lua" if file.exists(f) then dofile(f) end
end
boot()