mirror of
https://github.com/novatiq/packages.git
synced 2026-04-29 23:18:42 +01:00
dump1090: switch to mutability repo, make view1090 a separate package
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
This commit is contained in:
@@ -6,6 +6,8 @@ config dump1090 main
|
||||
option enable_agc '0'
|
||||
option freq ''
|
||||
option ifile ''
|
||||
option iformat ''
|
||||
option throttle '0'
|
||||
option raw '0'
|
||||
option net '1'
|
||||
option modeac '0'
|
||||
@@ -18,12 +20,16 @@ config dump1090 main
|
||||
option net_sbs_port ''
|
||||
option net_bi_port ''
|
||||
option net_bo_port ''
|
||||
option net_fatsv_port ''
|
||||
option net_ro_size ''
|
||||
option net_ro_rate ''
|
||||
option net_ro_interval ''
|
||||
option net_heartbeat ''
|
||||
option net_buffer ''
|
||||
option net_verbatim '0'
|
||||
option forward_mlat '0'
|
||||
option lat ''
|
||||
option lon ''
|
||||
option max_range ''
|
||||
option fix '0'
|
||||
option no_fix '0'
|
||||
option no_crc_check '0'
|
||||
@@ -31,9 +37,17 @@ config dump1090 main
|
||||
option agressive '0'
|
||||
option mlat '0'
|
||||
option stats '0'
|
||||
option stats_range '0'
|
||||
option stats_every ''
|
||||
option onlyaddr '0'
|
||||
option metric '0'
|
||||
option snip ''
|
||||
option debug ''
|
||||
option ppm ''
|
||||
option html_dir '/usr/share/dump1090'
|
||||
option write_json ''
|
||||
option write_json_every ''
|
||||
option json_location_accuracy ''
|
||||
option oversample '0'
|
||||
option dcfilter '0'
|
||||
option measure_noise '0'
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#!/bin/sh /etc/rc.common
|
||||
# Copyright (C) 2014 OpenWrt.org
|
||||
# Copyright (C) 2014-2015 OpenWrt.org
|
||||
|
||||
START=90
|
||||
STOP=10
|
||||
@@ -44,6 +44,8 @@ start_instance() {
|
||||
append_bool "$cfg" enable_agc "--enable-agc"
|
||||
append_arg "$cfg" freq "--freq"
|
||||
append_arg "$cfg" ifile "--ifile"
|
||||
append_arg "$cfg" iformat "--iformat"
|
||||
append_bool "$cfg" throttle "--throttle"
|
||||
append_bool "$cfg" raw "--raw"
|
||||
append_bool "$cfg" net "--net"
|
||||
append_bool "$cfg" modeac "--modeac"
|
||||
@@ -56,12 +58,16 @@ start_instance() {
|
||||
append_arg "$cfg" net_sbs_port "--net-sbs-port"
|
||||
append_arg "$cfg" net_bi_port "--net-bi-port"
|
||||
append_arg "$cfg" net_bo_port "--net-bo-port"
|
||||
append_arg "$cfg" net_fatsv_port "net-fatsv-port"
|
||||
append_arg "$cfg" net_ro_size "--net-ro-size"
|
||||
append_arg "$cfg" net_ro_rate "--net-ro-rate"
|
||||
append_arg "$cfg" net_ro_interval "--net-ro-interval"
|
||||
append_arg "$cfg" net_heartbeat "--net-heartbeat"
|
||||
append_arg "$cfg" net_buffer "--net-buffer"
|
||||
append_bool "$cfg" net_verbatim "--net-verbatim"
|
||||
append_bool "$cfg" forward_mlat "--forward-mlat"
|
||||
append_arg "$cfg" lat "--lat"
|
||||
append_arg "$cfg" lon "--lon"
|
||||
append_arg "$cfg" max_range "--max-range"
|
||||
append_bool "$cfg" fix "--fix"
|
||||
append_bool "$cfg" no_fix "--no-fix"
|
||||
append_bool "$cfg" no_crc_check "--no-crc-check"
|
||||
@@ -69,12 +75,20 @@ start_instance() {
|
||||
append_bool "$cfg" agressive "--agressive"
|
||||
append_bool "$cfg" mlat "--mlat"
|
||||
append_bool "$cfg" stats "--stats"
|
||||
append_bool "$cfg" stats_range "--stats-range"
|
||||
append_arg "$cfg" stats_every "--stats-every"
|
||||
append_bool "$cfg" onlyaddr "--onlyaddr"
|
||||
append_bool "$cfg" metric "--metric"
|
||||
append_arg "$cfg" snip "--snip"
|
||||
append_arg "$cfg" debug "--debug"
|
||||
append_arg "$cfg" ppm "--ppm"
|
||||
append_arg "$cfg" html_dir "--html-dir"
|
||||
append_arg "$cfg" write_json "--write-json"
|
||||
append_arg "$cfg" write_json_every "write-json-every"
|
||||
append_arg "$cfg" json_location_accuracy "--json-location-accuracy"
|
||||
append_bool "$cfg" oversample "--oversample"
|
||||
append_bool "$cfg" dcfilter "--dcfilter"
|
||||
append_bool "$cfg" measure_noise "--measure-noise"
|
||||
|
||||
config_get_bool aux "$cfg" 'respawn' '0'
|
||||
[ "$aux" = 1 ] && procd_set_param respawn
|
||||
|
||||
Reference in New Issue
Block a user