mirror of
https://github.com/caiwx86/small-packages.git
synced 2026-08-02 21:09:32 +08:00
14 lines
272 B
Bash
Executable File
14 lines
272 B
Bash
Executable File
#!/bin/sh
|
|
|
|
sed -i 's/cbi.submit\"] = true/cbi.submit\"] = \"1\"/g' /usr/lib/lua/luci/dispatcher.lua
|
|
|
|
uci -q batch <<-EOF >/dev/null
|
|
delete ucitrack.@amlogic[-1]
|
|
add ucitrack amlogic
|
|
set ucitrack.@amlogic[-1].init=amlogic
|
|
commit ucitrack
|
|
EOF
|
|
|
|
rm -rf /tmp/luci-*
|
|
exit 0
|