0
0
mirror of https://github.com/openwrt/luci.git synced 2025-03-16 08:30:28 +00:00

luci-base, luci-proto-*: rename getOpkgPackage -> getPackageName

Signed-off-by: Paul Donald <newtwen+github@gmail.com>
This commit is contained in:
Paul Donald
2024-12-15 20:11:23 +01:00
parent 500ce17e7a
commit 8d13ea410d
44 changed files with 48 additions and 46 deletions
modules/luci-base/htdocs/luci-static/resources
protocols
luci-proto-3g/htdocs/luci-static/resources/protocol
luci-proto-autoip/htdocs/luci-static/resources/protocol
luci-proto-batman-adv/htdocs/luci-static/resources/protocol
luci-proto-bonding/htdocs/luci-static/resources/protocol
luci-proto-external/htdocs/luci-static/resources/protocol
luci-proto-gre/htdocs/luci-static/resources/protocol
luci-proto-hnet/htdocs/luci-static/resources/protocol
luci-proto-ipip/htdocs/luci-static/resources/protocol
luci-proto-ipv6/htdocs/luci-static/resources/protocol
luci-proto-mbim/htdocs/luci-static/resources/protocol
luci-proto-modemmanager/htdocs/luci-static/resources/protocol
luci-proto-ncm/htdocs/luci-static/resources/protocol
luci-proto-nebula/htdocs/luci-static/resources/protocol
luci-proto-openconnect/htdocs/luci-static/resources/protocol
luci-proto-openfortivpn/htdocs/luci-static/resources/protocol
luci-proto-ppp/htdocs/luci-static/resources/protocol
luci-proto-pppossh/htdocs/luci-static/resources/protocol
luci-proto-qmi/htdocs/luci-static/resources/protocol
luci-proto-relay/htdocs/luci-static/resources/protocol
luci-proto-sstp/htdocs/luci-static/resources/protocol
luci-proto-unet/htdocs/luci-static/resources/protocol
luci-proto-vpnc/htdocs/luci-static/resources/protocol
luci-proto-vti/htdocs/luci-static/resources/protocol
luci-proto-vxlan/htdocs/luci-static/resources/protocol
luci-proto-wireguard/htdocs/luci-static/resources/protocol
luci-proto-xfrm/htdocs/luci-static/resources/protocol
luci-proto-yggdrasil/htdocs/luci-static/resources/protocol

@ -14,7 +14,7 @@ return network.registerProtocol('l2tp', {
return this._ubus('l3_device') || 'l2tp-%s'.format(this.sid);
},
getOpkgPackage: function() {
getPackageName: function() {
return 'xl2tpd';
},

@ -47,7 +47,7 @@ return network.registerProtocol('ppp', {
return this._ubus('l3_device') || 'ppp-%s'.format(this.sid);
},
getOpkgPackage: function() {
getPackageName: function() {
return 'ppp';
},

@ -32,7 +32,7 @@ return network.registerProtocol('pppoa', {
return this._ubus('l3_device') || 'pppoa-%s'.format(this.sid);
},
getOpkgPackage: function() {
getPackageName: function() {
return 'ppp-mod-pppoa';
},

@ -32,7 +32,7 @@ return network.registerProtocol('pppoe', {
return this._ubus('l3_device') || 'pppoe-%s'.format(this.sid);
},
getOpkgPackage: function() {
getPackageName: function() {
return 'ppp-mod-pppoe';
},

@ -32,7 +32,7 @@ return network.registerProtocol('pptp', {
return this._ubus('l3_device') || 'pptp-%s'.format(this.sid);
},
getOpkgPackage: function() {
getPackageName: function() {
return 'ppp-mod-pptp';
},