🎄 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 67b877b3d6
commit 7439c23f17
97 files changed
+4710 -1

No files matched your search

@@ -0,0 +1,19 @@
#!/bin/sh
[ ! -f "/usr/share/ucitrack/luci-app-pptpd.json" ] && {
cat > /usr/share/ucitrack/luci-app-pptpd.json << EEOF
{
"config": "pptpd",
"init": "pptpd"
}
EEOF
}
uci -q batch <<-EOF >/dev/null
delete ucitrack.@pptpd[-1]
add ucitrack pptpd
set ucitrack.@pptpd[-1].init=pptpd
commit ucitrack
EOF
rm -f /tmp/luci-indexcache
exit 0
@@ -0,0 +1,40 @@
{
"admin/vpn/pptpd": {
"title": "PPTP Server",
"order": 60,
"action": {
"type": "alias",
"path": "admin/vpn/pptpd/general"
},
"depends": {
"acl": [ "luci-app-pptpd" ]
}
},
"admin/vpn/pptpd/general": {
"title": "General Settings",
"order": 10,
"action": {
"type": "view",
"path": "pptpd/general"
}
},
"admin/vpn/pptpd/user": {
"title": "Users Manager",
"order": 20,
"action": {
"type": "view",
"path": "pptpd/user"
}
},
"admin/vpn/pptpd/online": {
"title": "Online Users",
"order": 30,
"action": {
"type": "view",
"path": "pptpd/online"
}
}
}
@@ -2,7 +2,10 @@
"luci-app-pptpd": {
"description": "Grant UCI access for luci-app-pptpd",
"read": {
"uci": [ "pptpd" ]
"uci": [ "pptpd" ],
"file": {
"/tmp/pptpd/clients": [ "read" ]
},
},
"write": {
"uci": [ "pptpd" ]