luci-p2pblock 229 B

1234567891011
  1. #!/bin/sh
  2. uci -q batch <<-EOF >/dev/null
  3. delete citrack.@freifunk_p2pblock[-1]
  4. add ucitrack freifunk_p2pblock
  5. set ucitrack.@freifunk_p2pblock[-1].init=freifunk-p2pblock
  6. commit ucitrack
  7. EOF
  8. rm -f /tmp/luci-indexcache
  9. exit 0