mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-10-31 00:05:13 +08:00
🎄 Sync 2026-04-23 03:14:31
This commit is contained in:
1 parent
a011aeb96f
commit
263d407c11
97 files changed
+4710
-1
No files matched your search
@@ -0,0 +1,68 @@
|
||||
{
|
||||
"admin/services/smscontrol": {
|
||||
"title": "Remote SMS Control",
|
||||
"order": 10,
|
||||
"action": {
|
||||
"type": "alias",
|
||||
"path": "admin/services/smscontrol/general"
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-app-smscontrol" ],
|
||||
"uci": { "smscontrol": true }
|
||||
}
|
||||
},
|
||||
|
||||
"admin/services/smscontrol/general": {
|
||||
"title": "General Settings",
|
||||
"order": 10,
|
||||
"action": {
|
||||
"type": "view",
|
||||
"path": "smscontrol/general"
|
||||
}
|
||||
},
|
||||
|
||||
"admin/services/smscontrol/sms2cli": {
|
||||
"title": "Command over SMS",
|
||||
"order": 20,
|
||||
"action": {
|
||||
"type": "view",
|
||||
"path": "smscontrol/sms2cli"
|
||||
}
|
||||
},
|
||||
|
||||
"admin/services/smscontrol/sms2ucli": {
|
||||
"title": "Universal command over SMS",
|
||||
"order": 30,
|
||||
"action": {
|
||||
"type": "view",
|
||||
"path": "smscontrol/sms2ucli"
|
||||
}
|
||||
},
|
||||
|
||||
"admin/services/smscontrol/call2cli": {
|
||||
"title": "Command over call",
|
||||
"order": 40,
|
||||
"action": {
|
||||
"type": "view",
|
||||
"path": "smscontrol/call2cli"
|
||||
}
|
||||
},
|
||||
|
||||
"admin/services/smscontrol/log": {
|
||||
"title": "Event log",
|
||||
"order": 50,
|
||||
"action": {
|
||||
"type": "view",
|
||||
"path": "smscontrol/log"
|
||||
}
|
||||
},
|
||||
|
||||
"admin/services/smscontrol/sendsms": {
|
||||
"title": "Send SMS",
|
||||
"order": 60,
|
||||
"action": {
|
||||
"type": "view",
|
||||
"path": "smscontrol/sendsms"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"luci-app-smscontrol": {
|
||||
"description": "Grant UCI access for luci-app-smscontrol",
|
||||
"read": {
|
||||
"uci": [ "smscontrol" ]
|
||||
},
|
||||
"write": {
|
||||
"uci": [ "smscontrol" ],
|
||||
"file": {
|
||||
"/usr/bin/sendsms": [ "exec" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user