luci-olsr 270 B

1234567891011121314
  1. #!/bin/sh
  2. uci -q batch <<-EOF >/dev/null
  3. delete ucitrack.@olsrd[-1]
  4. add ucitrack olsrd
  5. set ucitrack.@olsrd[-1].init=olsrd
  6. delete ucitrack.@olsrd6[-1]
  7. add ucitrack olsrd6
  8. set ucitrack.@olsrd6[-1].init=olsrd6
  9. commit ucitrack
  10. EOF
  11. rm -f /tmp/luci-indexcache
  12. exit 0