1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00

Add 6in4 gateway setting support

This commit is contained in:
Ycarus 2018-04-30 09:37:34 +02:00
parent bd02a525f8
commit 3d2e8d9b85
17 changed files with 1021 additions and 0 deletions

View file

@ -0,0 +1,16 @@
-- Copyright 2014 Steven Barth <steven@midlink.org>
-- Licensed to the public under the Apache License 2.0.
local proto = luci.model.network:register_protocol("hnet")
function proto.get_i18n(self)
return luci.i18n.translate("Automatic Homenet (HNCP)")
end
function proto.is_installed(self)
return nixio.fs.access("/lib/netifd/proto/hnet.sh")
end
function proto.opkg_package(self)
return "hnet-full"
end