mirror of
https://github.com/caiwx86/small-packages.git
synced 2026-07-29 18:01:55 +08:00
16 lines
253 B
Bash
16 lines
253 B
Bash
#!/bin/sh
|
|
|
|
touch /etc/config/wizard
|
|
|
|
uci -q batch <<-EOF >/dev/null
|
|
delete ucitrack.@wizard[-1]
|
|
add ucitrack wizard
|
|
set ucitrack.@wizard[-1].init=wizard
|
|
commit ucitrack
|
|
EOF
|
|
|
|
chmod +x /etc/init.d/wizard 2>/dev/null
|
|
rm -f /tmp/luci-indexcache
|
|
|
|
exit 0
|