15 lines
493 B
Lua
15 lines
493 B
Lua
-- Scripts à charger après le boot pour démarrer le core system
|
|
|
|
print("\n boot.lua zf200106.2313 \n")
|
|
|
|
function boot()
|
|
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
|
|
second_chance=nil initz=nil f=nil boot=nil
|
|
end
|
|
boot()
|