mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-11-01 06:23:56 +08:00
🌴 Sync 2026-03-05 23:51:42
This commit is contained in:
1 parent
97c049ed0a
commit
0acff03804
14253 files changed
+3893239
No files matched your search
+3
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
echo $1 | atinout - $2 -
|
||||
@@ -0,0 +1,41 @@
|
||||
{
|
||||
"admin/modem": {
|
||||
"title": "Modem",
|
||||
"order": 45,
|
||||
"action": {
|
||||
"type": "firstchild",
|
||||
"recurse": true
|
||||
}
|
||||
},
|
||||
|
||||
"admin/modem/atinout": {
|
||||
"title": "AT Commands",
|
||||
"order": 41,
|
||||
"action": {
|
||||
"type": "alias",
|
||||
"path": "admin/modem/atinout/atcommands"
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-app-atinout" ]
|
||||
}
|
||||
},
|
||||
|
||||
"admin/modem/atinout/atcommands": {
|
||||
"title": "AT Commands",
|
||||
"order": 41,
|
||||
"action": {
|
||||
"type": "view",
|
||||
"path": "modem/atcommands"
|
||||
}
|
||||
},
|
||||
|
||||
"admin/modem/atinout/atconfig": {
|
||||
"title": "Configuration",
|
||||
"order": 42,
|
||||
"action": {
|
||||
"type": "view",
|
||||
"path": "modem/atconfig"
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"luci-app-atinout": {
|
||||
"description": "Grant access to atcommands executables",
|
||||
"read": {
|
||||
"cgi-io": [ "exec" ],
|
||||
"file": {
|
||||
"/bin/echo": [ "exec" ],
|
||||
"/usr/bin/atinout": [ "exec" ],
|
||||
"/usr/bin/luci-app-atinout": [ "exec" ],
|
||||
"/etc/atcommands.user": [ "read" ]
|
||||
}
|
||||
},
|
||||
"write": {
|
||||
"file": {
|
||||
"/etc/atcommands.user": [ "write" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user