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:
parent
bd02a525f8
commit
3d2e8d9b85
17 changed files with 1021 additions and 0 deletions
16
luci-proto-ipv6/luasrc/model/network/proto_dhcpv6.lua
Normal file
16
luci-proto-ipv6/luasrc/model/network/proto_dhcpv6.lua
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
-- Copyright 2013 Jo-Philipp Wich <jow@openwrt.org>
|
||||
-- Licensed to the public under the Apache License 2.0.
|
||||
|
||||
local proto = luci.model.network:register_protocol("dhcpv6")
|
||||
|
||||
function proto.get_i18n(self)
|
||||
return luci.i18n.translate("DHCPv6 client")
|
||||
end
|
||||
|
||||
function proto.is_installed(self)
|
||||
return nixio.fs.access("/lib/netifd/proto/dhcpv6.sh")
|
||||
end
|
||||
|
||||
function proto.opkg_package(self)
|
||||
return "odhcp6c"
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue