mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-10-29 21:55:13 +08:00
🎄 Sync 2026-04-23 03:14:31
This commit is contained in:
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-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
|
||||
Reference in new issue
Block a user