luci-app-rp-pppoe-server: Add ability to create uci sections 2434/head
authorDaniel F. Dickinson <cshored@thecshore.com>
Sat, 5 Jan 2019 17:20:09 +0000 (12:20 -0500)
committerDaniel F. Dickinson <cshored@thecshore.com>
Sat, 5 Jan 2019 17:29:32 +0000 (12:29 -0500)
commit96cf73a599b24e569657eb1fdda25e2596c4bfbd
tree38429f94959c4056471e5f6fdc1cfbddef637f54
parent66c2bbc2790813a7889c0dd329131e5012fc83dd
luci-app-rp-pppoe-server: Add ability to create uci sections

Currently if no non-commented uci sections exist in the config then
it's impossible to create a config from LuCI. Fix that, which also
allows what the initscript does, which is multiple instances. While
we're at it create the translation template.

Closes: #2431
Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>
applications/luci-app-rp-pppoe-server/luasrc/model/cbi/rp-pppoe-server.lua
applications/luci-app-rp-pppoe-server/po/templates/rp-pppoe-server.pot [new file with mode: 0644]