blob: 9f6bb14c9252a8ae85dc9ab2d776a43d29a088cf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
-- Licensed to the public under the Apache License 2.0.
local proto = luci.model.network:register_protocol("tayga")
function proto.get_i18n(self)
return luci.i18n.translate("NAT64 (TAYGA)")
end
function proto.opkg_package(self)
return "tayga"
end
function proto.is_installed(self)
return nixio.fs.access("/lib/netifd/proto/tayga.sh")
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
|