blob: a0c0119c22a0e67315137e60b95b00a996dfa12a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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.package_name(self)
return "odhcp6c"
end
|