Merge pull request #953 from musashino205/mount-fix-disp
[project/luci.git] / applications / luci-app-dynapoint / root / etc / uci-defaults / 40_luci-dynapoint
1 #!/bin/sh
2
3 # needed for "Save and Apply" to restart dynapoint
4 uci -q batch <<-EOF >/dev/null
5         delete ucitrack.@dynapoint[-1]
6         add ucitrack dynapoint
7         set ucitrack.@dynapoint[-1].init="dynapoint"
8         commit dynapoint
9 EOF
10
11 rm -f /tmp/luci-indexcache
12 exit 0
13