14 lines
440 B
Lua
14 lines
440 B
Lua
-- Scripts à charger après le boot pour démarrer le core system
|
|
|
|
print("\n boot.lua zf200106.1815 \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
|
|
end
|
|
boot()
|