40_luci-radicale 244 B

123456789101112
  1. #!/bin/sh
  2. # no longer needed for "Save and Apply" to restart radicale
  3. # luci-app-radicale calls /etc/init.d/radicale reload
  4. uci -q batch <<-EOF >/dev/null
  5. delete ucitrack.@radicale[-1]
  6. commit ucitrack
  7. EOF
  8. rm -f /tmp/luci-indexcache
  9. exit 0