luci-base: drop unused functions in luci.sys
authorJo-Philipp Wich <jo@mein.io>
Mon, 10 Jul 2017 14:21:51 +0000 (16:21 +0200)
committerJo-Philipp Wich <jo@mein.io>
Tue, 11 Jul 2017 12:05:31 +0000 (14:05 +0200)
commit366707a681459a4d520dc97024ea0a4b3c24a326
treeb13417a8359334cbdc0cabba41639c076df8fd7e
parent854a5f68bb277ce3b4f47f416c9569eec66254d2
luci-base: drop unused functions in luci.sys

Drop a number of redundant functions from luci.sys to shrink the code a bit:

 * luci.sys.net.arptable()   - replaced by luci.ip.neighbors()
 * luci.sys.net.routes()     - replaced by luci.ip.routes()
 * luci.sys.net.routes6()    - replaced by luci.ip.routes6()
 * luci.sys.net.deviceinfo() - replaced by nixio.getaddrinfo()
 * luci.sys.net.pingtest()   - no known user

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-base/luasrc/sys.lua