Commit a6894595 authored by Julian Schuh's avatar Julian Schuh

add first test package for an additional eol ssid

parent 4c1adf69
include $(TOPDIR)/rules.mk
PKG_NAME:=ffka-eol-ssid
PKG_VERSION:=1
PKG_RELEASE:=1
include $(TOPDIR)/../package/gluon.mk
define Package/ffka-eol-ssid
TITLE:=ffka-eol-ssid
DEPENDS:=+gluon-core
endef
$(eval $(call BuildPackageGluon,ffka-eol-ssid))
#!/usr/bin/lua
local util = require 'gluon.util'
local uci = require('simple-uci').cursor()
-- Reuse IBSS mac address
local macaddr = util.generate_mac(2)
if not macaddr then
return
end
uci:section('wireless', 'wifi-iface', 'dep_radio0', {
ifname = 'shitty0',
network = 'client',
disabled = '0',
device = 'radio0',
mode = 'ap',
macaddr = macaddr,
ssid = 'Support endet Dez/19 u.ffka.net',
})
uci:commit('wireless')
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment