This repository has been archived on 2024-05-11. You can view files and clone it, but cannot push or open issues or pull requests.
|
#!/usr/bin/lua
|
|
|
|
local sysconfig = require 'gluon.sysconfig'
|
|
|
|
-- Initial
|
|
if not sysconfig.gluon_version then
|
|
local uci = require('luci.model.uci').cursor()
|
|
|
|
uci:delete_all('wireless', 'wifi-iface')
|
|
uci:save('wireless')
|
|
uci:commit('wireless')
|
|
end
|