mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-10-29 13:55:13 +08:00
🐶 Sync 2026-08-11 02:49:26
This commit is contained in:
1 parent
e9d2e50b56
commit
3d975a2853
52 files changed
+841
-1058
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