Skip to content
Snippets Groups Projects
Unverified Commit ef7ef09a authored by Maciej Krüger's avatar Maciej Krüger
Browse files

gluon-mesh-layer3-common: add package

parent 0394047a
No related branches found
No related tags found
No related merge requests found
include $(TOPDIR)/rules.mk
PKG_NAME:=gluon-mesh-layer3-common
include ../gluon.mk
define Package/gluon-mesh-layer3-common
TITLE:=Layer3 common files
DEPENDS:=+gluon-core +gluon-mmfd +firewall
endef
$(eval $(call BuildPackageGluon,gluon-mesh-layer3-common))
#!/usr/bin/lua
local uci = require('simple-uci').cursor()
uci:section('firewall', 'forwarding', 'fcc', {
src = 'loc_client',
dest = 'loc_client',
})
uci:section('firewall', 'forwarding', 'fcm', {
src = 'loc_client',
dest = 'mesh',
})
uci:section('firewall', 'forwarding', 'fmc', {
src = 'mesh',
dest = 'loc_client',
})
uci:section('firewall', 'forwarding', 'fmm', {
src = 'mesh',
dest = 'mesh',
})
uci:save('firewall')
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment