packages/utils/dump1090/files/dump1090.default
Álvaro Fernández Rojas 52ab5cbc5b dump1090: update to latest version
Also switches HTTP to uhttpd.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2016-09-06 20:46:16 +02:00

16 lines
498 B
Bash

#!/bin/sh
uci batch <<-EOF
set uhttpd.xupnpd=uhttpd
set uhttpd.xupnpd.listen_http='0.0.0.0:8080 [::]:8080'
set uhttpd.xupnpd.home=/usr/share/dump1090
set uhttpd.xupnpd.rfc1918_filter=1
set uhttpd.xupnpd.max_requests=3
set uhttpd.xupnpd.max_connections=100
set uhttpd.xupnpd.script_timeout=60
set uhttpd.xupnpd.network_timeout=30
set uhttpd.xupnpd.http_keepalive=20
set uhttpd.xupnpd.tcp_keepalive=1
set uhttpd.xupnpd.index_page='index.html index.htm gmap.html'
commit uhttpd
EOF
exit 0