summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-dynapoint/root/etc/uci-defaults/40_luci-dynapoint
blob: 0ffa34d7627a3ae90d392a21a65afed26719c88a (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/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

exit 0