40_luci-statistics 221 B

1234567891011
  1. #!/bin/sh
  2. # register commit handler
  3. uci -q batch <<-EOF >/dev/null
  4. delete ucitrack.@luci_statistics[-1]
  5. add ucitrack luci_statistics
  6. set ucitrack.@luci_statistics[-1].init=luci_statistics
  7. commit ucitrack
  8. EOF
  9. exit 0