Merge pull request #282 from cronyx/master

formatting
pull/285/head
Igor Zalatov 2022-07-27 22:22:45 +03:00 committed by GitHub
commit d19a55ef3d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 23 additions and 19 deletions

View File

@ -5,7 +5,7 @@
################################################################################
DROPBEAR_OPENIPC_VERSION = 2022.82
DROPBEAR_OPENIPC_SITE = https://matt.ucc.asn.au/dropbear/releases
DROPBEAR_OPENIPC_SITE = http://sources.buildroot.net/dropbear
DROPBEAR_OPENIPC_SOURCE = dropbear-$(DROPBEAR_OPENIPC_VERSION).tar.bz2
DROPBEAR_OPENIPC_LICENSE = MIT, BSD-2-Clause, Public domain
DROPBEAR_OPENIPC_LICENSE_FILES = LICENSE

View File

@ -5,8 +5,12 @@
case "$1" in
start)
if grep -q telemetry=true /etc/wfb.conf; then
echo "Starting mavlink router daemon..."
/usr/bin/mavlink-routerd &
else
echo "Telemetry service disabled in wfb.conf..."
fi
;;
stop)
echo "Stopping mavlink router daemon..."