luci-udpxy 231 B

123456789101112
  1. #!/bin/sh
  2. # needed for "Save and Apply" to restart udpxy
  3. uci -q batch <<-EOF >/dev/null
  4. delete ucitrack.@udpxy[-1]
  5. add ucitrack udpxy
  6. set ucitrack.@udpxy[-1].init="udpxy"
  7. commit ucitrack
  8. EOF
  9. rm -f /tmp/luci-indexcache
  10. exit 0