-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
31 additions
and
7 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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/bin/bash | ||
|
||
# Example file that will start SOCAT before AqualinkD in a docker | ||
# to support EW-11 WIFI module for RS485 connection | ||
# | ||
# This file should be placed in the config aqualinkd directory defined | ||
# in your docker-compose.yml (or equiv) | ||
# | ||
# MAKE SURE TO CHAGE THE IP BELOW | ||
# | ||
|
||
echo "Starting SOCAT port binding....." | ||
socat -d -d pty,link=/dev/tty.Pool2,raw TCP:192.168.99.248:8899 & | ||
echo "Sleeping for SOCAT start....." | ||
sleep 2s |
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