diff options
author | Florian Eckert <fe@dev.tdt.de> | 2018-05-25 11:37:10 +0200 |
---|---|---|
committer | Florian Eckert <fe@dev.tdt.de> | 2018-05-25 12:04:28 +0200 |
commit | 9e3fb2c585ed966c3192c9926d950466d4b0f88e (patch) | |
tree | 6f637390ab3cfde8b683c71cc8f84a97fb419839 /protocols/luci-proto-ipv6/luasrc/model/network | |
parent | 59d91d8a72829a79d2f876f75ed7706eda195bdf (diff) |
luci-proto-ipv6: remove outdated aiccu proto support
Remove outdated package for luci proto section.
See commit:
https://github.com/openwrt/packages/commit/441f8a3ed1da96f6236988d672011bff11057d6b
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Diffstat (limited to 'protocols/luci-proto-ipv6/luasrc/model/network')
-rw-r--r-- | protocols/luci-proto-ipv6/luasrc/model/network/proto_aiccu.lua | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/protocols/luci-proto-ipv6/luasrc/model/network/proto_aiccu.lua b/protocols/luci-proto-ipv6/luasrc/model/network/proto_aiccu.lua deleted file mode 100644 index e0d7fd3e21..0000000000 --- a/protocols/luci-proto-ipv6/luasrc/model/network/proto_aiccu.lua +++ /dev/null @@ -1,49 +0,0 @@ --- Copyright 2015 Paul Oranje <por@xs4all.nl> --- Licensed to the public under GPLv2 - -local netmod = luci.model.network -local interface = luci.model.network.interface - -local proto = netmod:register_protocol("aiccu") - -function proto.get_i18n(self) - return luci.i18n.translate("AICCU (SIXXS)") -end - -function proto.ifname(self) - return "aiccu-" .. self.sid -end - -function proto.get_interface(self) - return interface(self:ifname(), self) -end - -function proto.is_installed(self) - return nixio.fs.access("/lib/netifd/proto/aiccu.sh") -end - -function proto.opkg_package(self) - return "aiccu" -end - -function proto.is_floating(self) - return true -end - -function proto.is_virtual(self) - return true -end - -function proto.get_interfaces(self) - return nil -end - -function proto.contains_interface(self, ifname) - if self:is_floating() then - return (netmod:ifnameof(ifc) == self:ifname()) - else - return netmod.protocol.contains_interface(self, ifc) - end -end - -netmod:register_pattern_virtual("^aiccu%-%w") |