2008-06-08 22:09:58 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
2010-02-28 00:19:58 +00:00
|
|
|
# register commit handler
|
2011-01-14 17:48:44 +00:00
|
|
|
uci -q batch <<-EOF >/dev/null
|
|
|
|
delete ucitrack.@luci_statistics[-1]
|
2008-09-06 13:51:51 +00:00
|
|
|
add ucitrack luci_statistics
|
|
|
|
set ucitrack.@luci_statistics[-1].init=luci_statistics
|
|
|
|
commit ucitrack
|
|
|
|
EOF
|
2010-02-28 00:19:58 +00:00
|
|
|
|
|
|
|
exit 0
|