-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #41 from sdr-enthusiasts/fix-feeder
Fix feeder
- Loading branch information
Showing
2 changed files
with
8 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,8 @@ | ||
#!/command/with-contenv bash | ||
#shellcheck shell=bash | ||
|
||
# shellcheck disable=SC1091 | ||
source /scripts/common | ||
|
||
set -o pipefail | ||
set -e | ||
|
||
# Listens for the output of acarsdec (UDP), and makes it available for multiple processes at TCP port 15550 | ||
# shellcheck disable=SC2016 | ||
# shellcheck disable=SC2154 | ||
"${s6wrap[@]}" socat -u udp-listen:5550,fork stdout | ncat -4 --keep-open --listen 0.0.0.0 15550 | ||
|
||
socat -u udp-listen:5550,fork stdout | ncat -4 --keep-open --listen 0.0.0.0 15550 | ||
|
||
sleep 5 |