mirror of
https://github.com/kenzok8/small-package
synced 2025-01-08 13:27:36 +08:00
12 lines
255 B
Bash
Executable File
12 lines
255 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# needed for "Save and Apply" to restart iptvhelper
|
|
uci -q batch <<-EOF >/dev/null
|
|
delete ucitrack.@iptvhelper[-1]
|
|
add ucitrack iptvhelper
|
|
set ucitrack.@iptvhelper[-1].init="iptvhelper"
|
|
commit ucitrack
|
|
EOF
|
|
|
|
rm -f /tmp/luci-indexcache
|
|
exit 0 |