forked from coolsnowwolf/lede
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
wwan/app: code alignment (coolsnowwolf#10850)
Signed-off-by: Beginner-Go <70857188+Beginner-Go@users.noreply.github.com>
- Loading branch information
1 parent
1daa71c
commit b597493
Showing
25 changed files
with
123 additions
and
127 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
52 changes: 26 additions & 26 deletions
52
package/wwan/app/luci-app-gobinetmodem/luasrc/model/cbi/gobinetmodem.lua
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,39 @@ | ||
-- Copyright 2016 David Thornley <david.thornley@touchstargroup.com> | ||
-- Licensed to the public under the Apache License 2.0. | ||
|
||
mp = Map("gobinetmodem") | ||
mp.title = translate("gobinet Modem Server") | ||
mp.description = translate("Modem Server For OpenWrt") | ||
|
||
mp=Map("gobinetmodem",translate("gobinet Modem Server")) | ||
mp.description=translate("Modem Server For OpenWrt") | ||
|
||
s=mp:section(TypedSection,"service", "Base Setting") | ||
s = mp:section(TypedSection, "service", "Base Setting") | ||
s.anonymous = true | ||
|
||
enabled=s:option(Flag,"enabled",translate("Enable")) | ||
enabled.default=0 | ||
enabled.rmempty=false | ||
enabled = s:option(Flag, "enabled", translate("Enable")) | ||
enabled.default = 0 | ||
enabled.rmempty = false | ||
|
||
apn=s:option(Value,"apn",translate("APN")) | ||
apn.rmempty=true | ||
apn = s:option(Value, "apn", translate("APN")) | ||
apn.rmempty = true | ||
|
||
pincode=s:option(Value,"pincode",translate("PIN")) | ||
pincode.rmempty=true | ||
pincode = s:option(Value, "pincode", translate("PIN")) | ||
pincode.rmempty = true | ||
|
||
username=s:option(Value,"username",translate("PAP/CHAP username")) | ||
username.rmempty=true | ||
username = s:option(Value, "username", translate("PAP/CHAP username")) | ||
username.rmempty = true | ||
|
||
password=s:option(Value,"password",translate("PAP/CHAP password")) | ||
password.rmempty=true | ||
auth=s:option(Value,"auth",translate("Authentication Type")) | ||
password.rmempty=true | ||
auth:value("",translate("-- Please choose --")) | ||
auth:value("both","PAP/CHAP (both)") | ||
auth:value("pap","PAP") | ||
auth:value("chap","CHAP") | ||
auth:value("none","NONE") | ||
password = s:option(Value, "password", translate("PAP/CHAP password")) | ||
password.rmempty = true | ||
|
||
tool=s:option(Value,"tool",translate("Tools")) | ||
tool:value("quectel-CM","quectel-CM") | ||
tool.rmempty=true | ||
auth = s:option(Value, "auth", translate("Authentication Type")) | ||
auth.rmempty = true | ||
auth:value("", translate("-- Please choose --")) | ||
auth:value("both", "PAP/CHAP (both)") | ||
auth:value("pap", "PAP") | ||
auth:value("chap", "CHAP") | ||
auth:value("none", "NONE") | ||
|
||
return mp | ||
tool = s:option(Value, "tool", translate("Tools")) | ||
tool:value("quectel-CM", "quectel-CM") | ||
tool.rmempty = true | ||
|
||
return mp |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,4 +9,3 @@ EOF | |
|
||
rm -f /tmp/luci-indexcache | ||
exit 0 | ||
|
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
52 changes: 26 additions & 26 deletions
52
package/wwan/app/luci-app-pcimodem/luasrc/model/cbi/pcimodem.lua
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,39 @@ | ||
-- Copyright 2016 David Thornley <david.thornley@touchstargroup.com> | ||
-- Licensed to the public under the Apache License 2.0. | ||
|
||
mp = Map("pcimodem") | ||
mp.title = translate("PCI Modem Server") | ||
mp.description = translate("Modem Server For OpenWrt") | ||
|
||
mp=Map("pcimodem",translate("PCI Modem Server")) | ||
mp.description=translate("Modem Server For OpenWrt") | ||
|
||
s=mp:section(TypedSection,"service", "Base Setting") | ||
s = mp:section(TypedSection, "service", "Base Setting") | ||
s.anonymous = true | ||
|
||
enabled=s:option(Flag,"enabled",translate("Enable")) | ||
enabled.default=0 | ||
enabled.rmempty=false | ||
enabled = s:option(Flag, "enabled", translate("Enable")) | ||
enabled.default = 0 | ||
enabled.rmempty = false | ||
|
||
apn=s:option(Value,"apn",translate("APN")) | ||
apn.rmempty=true | ||
apn = s:option(Value, "apn", translate("APN")) | ||
apn.rmempty = true | ||
|
||
pincode=s:option(Value,"pincode",translate("PIN")) | ||
pincode.rmempty=true | ||
pincode = s:option(Value, "pincode", translate("PIN")) | ||
pincode.rmempty = true | ||
|
||
username=s:option(Value,"username",translate("PAP/CHAP username")) | ||
username.rmempty=true | ||
username = s:option(Value, "username", translate("PAP/CHAP username")) | ||
username.rmempty = true | ||
|
||
password=s:option(Value,"password",translate("PAP/CHAP password")) | ||
password.rmempty=true | ||
auth=s:option(Value,"auth",translate("Authentication Type")) | ||
password.rmempty=true | ||
auth:value("",translate("-- Please choose --")) | ||
auth:value("both","PAP/CHAP (both)") | ||
auth:value("pap","PAP") | ||
auth:value("chap","CHAP") | ||
auth:value("none","NONE") | ||
password = s:option(Value, "password", translate("PAP/CHAP password")) | ||
password.rmempty = true | ||
|
||
tool=s:option(Value,"tool",translate("Tools")) | ||
tool:value("quectel-CM","quectel-CM") | ||
tool.rmempty=true | ||
auth = s:option(Value, "auth", translate("Authentication Type")) | ||
auth.rmempty = true | ||
auth:value("", translate("-- Please choose --")) | ||
auth:value("both", "PAP/CHAP (both)") | ||
auth:value("pap", "PAP") | ||
auth:value("chap", "CHAP") | ||
auth:value("none", "NONE") | ||
|
||
return mp | ||
tool = s:option(Value, "tool", translate("Tools")) | ||
tool:value("quectel-CM", "quectel-CM") | ||
tool.rmempty = true | ||
|
||
return mp |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,4 +9,3 @@ EOF | |
|
||
rm -f /tmp/luci-indexcache | ||
exit 0 | ||
|
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
52 changes: 26 additions & 26 deletions
52
package/wwan/app/luci-app-spdmodem/luasrc/model/cbi/spdmodem.lua
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,39 @@ | ||
-- Copyright 2016 David Thornley <david.thornley@touchstargroup.com> | ||
-- Licensed to the public under the Apache License 2.0. | ||
|
||
mp = Map("spdmodem") | ||
mp.title = translate("SPD Modem Server") | ||
mp.description = translate("Modem Server For OpenWrt") | ||
|
||
mp=Map("spdmodem",translate("SPD Modem Server")) | ||
mp.description=translate("Modem Server For OpenWrt") | ||
|
||
s=mp:section(TypedSection,"service", "Base Setting") | ||
s = mp:section(TypedSection, "service", "Base Setting") | ||
s.anonymous = true | ||
|
||
enabled=s:option(Flag,"enabled",translate("Enable")) | ||
enabled.default=0 | ||
enabled.rmempty=false | ||
enabled = s:option(Flag, "enabled", translate("Enable")) | ||
enabled.default = 0 | ||
enabled.rmempty = false | ||
|
||
apn=s:option(Value,"apn",translate("APN")) | ||
apn.rmempty=true | ||
apn = s:option(Value, "apn", translate("APN")) | ||
apn.rmempty = true | ||
|
||
pincode=s:option(Value,"pincode",translate("PIN")) | ||
pincode.rmempty=true | ||
pincode = s:option(Value, "pincode", translate("PIN")) | ||
pincode.rmempty = true | ||
|
||
username=s:option(Value,"username",translate("PAP/CHAP username")) | ||
username.rmempty=true | ||
username = s:option(Value, "username", translate("PAP/CHAP username")) | ||
username.rmempty = true | ||
|
||
password=s:option(Value,"password",translate("PAP/CHAP password")) | ||
password.rmempty=true | ||
auth=s:option(Value,"auth",translate("Authentication Type")) | ||
password.rmempty=true | ||
auth:value("",translate("-- Please choose --")) | ||
auth:value("both","PAP/CHAP (both)") | ||
auth:value("pap","PAP") | ||
auth:value("chap","CHAP") | ||
auth:value("none","NONE") | ||
password = s:option(Value, "password", translate("PAP/CHAP password")) | ||
password.rmempty = true | ||
|
||
tool=s:option(Value,"tool",translate("Tools")) | ||
tool:value("quectel-CM","quectel-CM") | ||
tool.rmempty=true | ||
auth = s:option(Value, "auth", translate("Authentication Type")) | ||
auth.rmempty = true | ||
auth:value("", translate("-- Please choose --")) | ||
auth:value("both", "PAP/CHAP (both)") | ||
auth:value("pap", "PAP") | ||
auth:value("chap", "CHAP") | ||
auth:value("none", "NONE") | ||
|
||
return mp | ||
tool = s:option(Value, "tool", translate("Tools")) | ||
tool:value("quectel-CM", "quectel-CM") | ||
tool.rmempty = true | ||
|
||
return mp |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,4 +9,3 @@ EOF | |
|
||
rm -f /tmp/luci-indexcache | ||
exit 0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,4 +9,3 @@ EOF | |
|
||
rm -f /tmp/luci-indexcache | ||
exit 0 | ||
|
Empty file.
Empty file modified
0
package/wwan/app/luci-proto-3x/files/usr/lib/lua/luci/model/cbi/admin_network/proto_3x.lua
100755 → 100644
Empty file.
Empty file.
Empty file modified
0
...ge/wwan/app/luci-proto-mbim/files/usr/lib/lua/luci/model/cbi/admin_network/proto_mbim.lua
100755 → 100644
Empty file.
Empty file modified
0
package/wwan/app/luci-proto-mbim/files/usr/lib/lua/luci/model/network/proto_mbim.lua
100755 → 100644
Empty file.