🎄 Sync 2026-04-23 03:14:31

This commit is contained in:
github-actions[bot] committed 2026-04-23 03:14:31 +08:00
1 parent a011aeb96f
commit 263d407c11
97 files changed
+4710 -1

No files matched your search

@@ -0,0 +1,19 @@
#!/bin/sh
[ ! -f "/usr/share/ucitrack/luci-app-smscontrol.json" ] && {
cat > /usr/share/ucitrack/luci-app-smscontrol.json << EEOF
{
"config": "smscontrol",
"init": "smscontrol"
}
EEOF
}
uci -q batch <<-EOF >/dev/null
delete ucitrack.@smscontrol[-1]
add ucitrack smscontrol
set ucitrack.@smscontrol[-1].init=smscontrol
commit ucitrack
EOF
rm -f /tmp/luci-indexcache
exit 0
@@ -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" ]
}
}
}
}