diff options
Diffstat (limited to 'modules/luci-base/root/usr/libexec/rpcd')
-rwxr-xr-x | modules/luci-base/root/usr/libexec/rpcd/luci | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/modules/luci-base/root/usr/libexec/rpcd/luci b/modules/luci-base/root/usr/libexec/rpcd/luci index 5bd17c75d2..56cb7bc85d 100755 --- a/modules/luci-base/root/usr/libexec/rpcd/luci +++ b/modules/luci-base/root/usr/libexec/rpcd/luci @@ -160,26 +160,6 @@ local methods = { end }, - getDUIDHints = { - call = function() - local fp = io.open('/var/hosts/odhcpd') - local result = { } - if fp then - for line in fp:lines() do - local dev, duid, name = string.match(line, '# (%S+)%s+(%S+)%s+%d+%s+(%S+)') - if dev and duid and name then - result[duid] = { - name = (name ~= "-") and name or nil, - device = dev - } - end - end - fp:close() - end - return result - end - }, - getConntrackHelpers = { call = function() local ok, fd = pcall(io.open, "/usr/share/fw3/helpers.conf", "r") |