mirror of
https://github.com/caiwx86/small-packages.git
synced 2026-07-30 02:31:47 +08:00
14 lines
321 B
Bash
14 lines
321 B
Bash
#!/bin/sh
|
|
chmod +x /etc/init.d/eqosplus /usr/bin/eqosplus*
|
|
uci -q batch <<-EOF >/dev/null
|
|
delete ucitrack.@eqosplus[-1]
|
|
add ucitrack eqosplus
|
|
set ucitrack.@eqosplus[-1].init=eqosplus
|
|
commit ucitrack
|
|
EOF
|
|
|
|
[ -s /etc/config/eqosplus ] || echo "config eqosplus" > /etc/config/eqosplus
|
|
|
|
rm -f /tmp/luci-indexcache
|
|
exit 0
|