Ask about json interval before json dir. Skip the dir question if
the interval is disabled, it makes more sense that way.
This commit is contained in:
parent
2a2306ff57
commit
660eb08c66
7
debian/changelog
vendored
7
debian/changelog
vendored
|
@ -1,3 +1,10 @@
|
|||
dump1090-mutability (1.08.2302.14+1mu-3) UNRELEASED; urgency=medium
|
||||
|
||||
* Ask about json interval before json dir and skip the dir question if
|
||||
the interval is disabled, it makes more sense that way.
|
||||
|
||||
-- Oliver Jowett <oliver@mutability.co.uk> Wed, 10 Dec 2014 02:01:27 +0000
|
||||
|
||||
dump1090-mutability (1.08.2302.14+1mu-2) unstable; urgency=medium
|
||||
|
||||
* Fix a memory leak from use of realpath() in HTTP request processing.
|
||||
|
|
8
debian/dump1090-mutability.config
vendored
8
debian/dump1090-mutability.config
vendored
|
@ -92,11 +92,11 @@ db_go || true; db_get $NAME/auto-start; if [ "$RET" = "true" ]; then
|
|||
db_input medium $NAME/net-bind-address || true
|
||||
|
||||
db_input low $NAME/stats-interval || true
|
||||
db_input low $NAME/json-dir || true
|
||||
|
||||
db_go || true; db_get $NAME/json-dir; if [ -n "$RET" ]; then
|
||||
# only if json-dir was given:
|
||||
db_input low $NAME/json-interval || true
|
||||
|
||||
db_go || true; db_get $NAME/json-interval; if [ -n "$RET" ] && [ "$RET" -gt 0 ]; then
|
||||
# only if json-interval was given and non-zero
|
||||
db_input low $NAME/json-dir || true
|
||||
fi
|
||||
|
||||
db_input low $NAME/extra-args || true
|
||||
|
|
Loading…
Reference in a new issue