You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
498 B

  1. #!/bin/sh
  2. uci batch <<-EOF
  3. set uhttpd.xupnpd=uhttpd
  4. set uhttpd.xupnpd.listen_http='0.0.0.0:8080 [::]:8080'
  5. set uhttpd.xupnpd.home=/usr/share/dump1090
  6. set uhttpd.xupnpd.rfc1918_filter=1
  7. set uhttpd.xupnpd.max_requests=3
  8. set uhttpd.xupnpd.max_connections=100
  9. set uhttpd.xupnpd.script_timeout=60
  10. set uhttpd.xupnpd.network_timeout=30
  11. set uhttpd.xupnpd.http_keepalive=20
  12. set uhttpd.xupnpd.tcp_keepalive=1
  13. set uhttpd.xupnpd.index_page='index.html index.htm gmap.html'
  14. commit uhttpd
  15. EOF
  16. exit 0