🌴 Sync 2026-03-05 23:51:42

This commit is contained in:
github-actions[bot] committed 2026-03-05 23:51:42 +08:00
1 parent 97c049ed0a
commit 0acff03804
14253 files changed
+3893239

No files matched your search

+3
View File
@@ -0,0 +1,3 @@
#!/bin/sh
# Copyright 2023 Rafał Wabik (IceG) - From eko.one.pl forum
# Licensed to the GNU General Public License v3.0.
@@ -0,0 +1,69 @@
{
"admin/modem": {
"title": "Modem",
"order": 30,
"action": {
"type": "firstchild",
"recurse": true
}
},
"admin/modem/luci-app-sms-tool-js": {
"title": "SMS Messages",
"order": 10,
"action": {
"type": "alias",
"path": "admin/modem/luci-app-sms-tool-js/readsms"
},
"depends": {
"acl": [ "luci-app-sms-tool-js" ],
"uci": { "sms_tool_js": true }
}
},
"admin/modem/luci-app-sms-tool-js/readsms": {
"title": "Received Messages",
"order": 10,
"action": {
"type": "view",
"path": "modem/readsms"
}
},
"admin/modem/luci-app-sms-tool-js/sendsms": {
"title": "Send Messages",
"order": 20,
"action": {
"type": "view",
"path": "modem/sendsms"
}
},
"admin/modem/luci-app-sms-tool-js/sendussd": {
"title": "USSD Codes",
"order": 30,
"action": {
"type": "view",
"path": "modem/sendussd"
}
},
"admin/modem/luci-app-sms-tool-js/sendat": {
"title": "AT Commands",
"order": 40,
"action": {
"type": "view",
"path": "modem/sendat"
}
},
"admin/modem/luci-app-sms-tool-js/smsconfig": {
"title": "Configuration",
"order": 50,
"action": {
"type": "view",
"path": "modem/smsconfig"
}
},
}
@@ -0,0 +1,40 @@
{
"luci-app-sms-tool-js": {
"description": "Grant access to LuCI app sms-tool",
"read": {
"cgi-io": [ "exec" ],
"file": {
"/sys/class/leds": [ "list" ],
"/usr/bin/sms_tool": [ "exec" ],
"/etc/init.d/my_new_sms start" : [ "exec" ],
"/etc/init.d/my_new_sms stop" : [ "exec" ],
"/etc/init.d/my_new_sms enable" : [ "exec" ],
"/etc/init.d/my_new_sms disable" : [ "exec" ],
"/etc/init.d/my_new_sms restart" : [ "exec" ],
"/etc/init.d/led restart" : [ "exec" ],
"/sbin/smstool_led.sh": [ "exec" ],
"/sbin/sms_led.sh": [ "exec" ],
"/sbin/new_cron_sync.sh": [ "exec" ],
"/usr/bin/usr_script1.sh": [ "read" ],
"/etc/sms_tool_js": [ "read" ],
"/tmp/mysms.txt": [ "read" ],
"/etc/modem/atcmmds.user": [ "read" ],
"/etc/modem/phonebook.user": [ "read" ],
"/etc/modem/ussdcodes.user": [ "read" ]
},
"uci": [ "sms_tool_js", "luci-app-sms-tool-js" ]
},
"write": {
"file": {
"/etc/sms_tool_js": [ "write" ],
"/sys/class/leds/*/brightness": [ "write" ],
"/tmp/mysms.txt": [ "write" ],
"/usr/bin/usr_script1.sh": [ "write" ],
"/etc/modem/atcmmds.user": [ "write" ],
"/etc/modem/phonebook.user": [ "write" ],
"/etc/modem/ussdcodes.user": [ "write" ]
},
"uci": [ "sms_tool_js", "luci-app-sms-tool-js" ]
}
}
}