1
0

proto_dhcpv6.lua 401 B

12345678910111213141516
  1. -- Copyright 2013 Jo-Philipp Wich <jow@openwrt.org>
  2. -- Licensed to the public under the Apache License 2.0.
  3. local proto = luci.model.network:register_protocol("dhcpv6")
  4. function proto.get_i18n(self)
  5. return luci.i18n.translate("DHCPv6 client")
  6. end
  7. function proto.is_installed(self)
  8. return nixio.fs.access("/lib/netifd/proto/dhcpv6.sh")
  9. end
  10. function proto.opkg_package(self)
  11. return "odhcp6c"
  12. end