• Karel Koci's avatar
    Add options --model and --board · 1c3769dc
    Karel Koci authored
    This also moves some configuration variables from backend to separate
    syscnf module.
    Original design where hard coded in values were used as defaults is not
    replaced with design where set function is required to be called before
    anything is done. Commonly that is suppose to be done in C before we
    start using other Lua modules.
    Thanks to new options --model and --board we can now set target even
    outside of the router environment without requiring /tmp tainting. It's
    now also not possible to run updater's executables on non-openwrt
    platform without specifying those two options.
syscnf.lua 1.16 KB