blob: 7287ccd4200d4c3a38a274866566afcd528f3378 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#!/bin/sh
# needed for "Save and Apply" to restart dynapoint
uci -q batch <<-EOF >/dev/null
delete ucitrack.@dynapoint[-1]
add ucitrack dynapoint
set ucitrack.@dynapoint[-1].init="dynapoint"
commit dynapoint
EOF
rm -f /tmp/luci-indexcache
exit 0
|