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

This commit is contained in:
github-actions[bot]
2026-04-23 03:14:31 +08:00
parent a011aeb96f
commit 263d407c11
97 changed files with 4710 additions and 1 deletions
@@ -0,0 +1,19 @@
#!/bin/sh
[ ! -f "/usr/share/ucitrack/luci-app-hotplug.json" ] && {
cat > /usr/share/ucitrack/luci-app-hotplug.json << EEOF
{
"config": "hotplug",
"init": "hotplug"
}
EEOF
}
uci -q batch <<-EOF >/dev/null
delete ucitrack.@hotplug[-1]
add ucitrack hotplug
set ucitrack.@hotplug[-1].init=hotplug
commit ucitrack
EOF
rm -f /tmp/luci-indexcache
exit 0
@@ -0,0 +1,23 @@
{
"admin/services/hotplug": {
"title": "Hotplug Rules",
"order": 25,
"action": {
"type": "alias",
"path": "admin/services/hotplug/iface"
},
"depends": {
"acl": [ "luci-app-hotplug" ],
"uci": { "hotplug": true }
}
},
"admin/services/hotplug/iface": {
"title": "iface",
"order": 20,
"action": {
"type": "view",
"path": "hotplug/iface"
}
}
}
@@ -0,0 +1,11 @@
{
"luci-app-hotplug": {
"description": "Grant UCI access for luci-app-hotplug",
"read": {
"uci": [ "hotplug" ]
},
"write": {
"uci": [ "hotplug" ]
}
}
}