fix speed when used with dup1090-mutability

This commit is contained in:
Matthias Wirth
2021-03-20 18:38:22 +01:00
parent fe420e911d
commit 965ca822ac
2 changed files with 10 additions and 8 deletions

View File

@@ -1,12 +1,14 @@
#!/bin/bash
set -e
trap 'echo "[ERROR] Error in line $LINENO when executing: $BASH_COMMAND"' ERR
renice 10 $$
if [ -d /bup ]; then
echo Talk to @PIL. Dieses Skript ist nichts fuer dich!
exit 1
fi
trap 'echo "[ERROR] Error in line $LINENO when executing: $BASH_COMMAND"' ERR
srcdir=/run/dump1090-fa
repo="https://github.com/wiedehopf/tar1090"