Implement luci.upnp ubus app. Convert lua page to js client side implementation. Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
17 lines
274 B
JSON
17 lines
274 B
JSON
{
|
|
"luci-app-ddns": {
|
|
"description": "Grant access to upnp procedures",
|
|
"read": {
|
|
"ubus": {
|
|
"luci.upnp": [ "get_status" ],
|
|
"luci": [ "setInitAction" ]
|
|
}
|
|
},
|
|
"write": {
|
|
"ubus": {
|
|
"luci.upnp": [ "delete_rule" ]
|
|
},
|
|
"uci": [ "upnpd" ]
|
|
}
|
|
}
|
|
}
|