luci-proto-3g: make it a self-contained package
authorFlorian Eckert <fe@dev.tdt.de>
Thu, 15 Mar 2018 09:21:05 +0000 (10:21 +0100)
committerYousong Zhou <yszhou4tech@gmail.com>
Mon, 28 May 2018 14:28:30 +0000 (22:28 +0800)
commitf6aec9fe2161def3a996023353da8ffeadeeb691
tree90e4c9e7aefe321dd8406d03623f315710ff9db0
parenta013967e6ba16fb6faf063e4194886a11908c9ee
luci-proto-3g: make it a self-contained package

The follow error will appear after clicking "Switch protcol" to 3g when
luci-proto-3g was not installed.  Fix this by moving the relevant parts
from luci-proto-ppp into luci-proto-3g and making it complete as a
single protocol handler

> Missing protocol extension for proto "3g"
> cannot open /usr/lib/lua/luci/model/cbi/admin_network/proto_3g.lua: No such file or directory

Closes openwrt/luci#1815

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
protocols/luci-proto-3g/luasrc/model/network/proto_3g.lua [new file with mode: 0644]
protocols/luci-proto-ppp/luasrc/model/network/proto_ppp.lua