diff --git a/Makefile b/Makefile index 84a5844..f4b7b8d 100755 --- a/Makefile +++ b/Makefile @@ -57,7 +57,7 @@ else # $(info OS: $(PI_OS_VERSION) ) # GLIBC_VERSION = $(shell ldd --version | grep ldd) # $(info GLIBC build with: $(GLIBC_VERSION) ) - # $(info GLIBC Prefered : 2.24-11+deb9u1 2.24 ) + # $(info GLIBC Preferred : 2.24-11+deb9u1 2.24 ) endif # OSX ifeq ($(UNAME_S),Darwin) @@ -111,7 +111,7 @@ SL_SRC = rs485mon.c aq_serial.c utils.c packetLogger.c rs_msg_utils.c timespec_s DD_SRC = dummy_device.c aq_serial.c utils.c packetLogger.c rs_msg_utils.c timespec_subtract.c DR_SRC = dummy_reader.c aq_serial.c utils.c packetLogger.c rs_msg_utils.c timespec_subtract.c -# Build durectories +# Build directories SRC_DIR := ./source OBJ_DIR := ./build DBG_OBJ_DIR := $(OBJ_DIR)/debug @@ -214,15 +214,15 @@ runindocker: sudo docker run -it --mount type=bind,source=./,target=/build aqualinkd-releasebin make dockerbuildnrun $(info Binaries for release have been built) -# This is run inside container Dockerfile.releaseBinariies (aqualinkd-releasebin) +# This is run inside container Dockerfile.releaseBinaries (aqualinkd-releasebin) buildrelease: clean armhf arm64 $(shell cd release && ln -s ./aqualinkd-armhf ./aqualinkd && ln -s ./rs485mon-armhf ./rs485mon) -# This is run inside container Dockerfile.releaseBinariies (aqualinkd-releasebin) +# This is run inside container Dockerfile.releaseBinaries (aqualinkd-releasebin) quickbuild: armhf arm64 $(shell cd release && [ ! -f "./aqualinkd-armhf" ] && ln -s ./aqualinkd-armhf ./aqualinkd && ln -s ./rs485mon-armhf ./rs485mon) -# This is run inside container Dockerfile.releaseBinariies (aqualinkd-releasebin) +# This is run inside container Dockerfile.releaseBinaries (aqualinkd-releasebin) dockerbuildnrun: ./release/aqualinkd $(shell ./release/aqualinkd -d -c ./release/aqualinkd.test.conf) diff --git a/docker/aqexec-pre.sh b/docker/aqexec-pre.sh index f136f0f..824907e 100644 --- a/docker/aqexec-pre.sh +++ b/docker/aqexec-pre.sh @@ -6,8 +6,8 @@ # 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 (1.1.1.1) -# aqualinkd.cong should have serial_port=/dev/ttyEW11 +# MAKE SURE TO CHANGE THE IP BELOW (1.1.1.1) +# aqualinkd.conf should have serial_port=/dev/ttyEW11 echo "Starting SOCAT port binding....." socat -d -d pty,link=/dev/ttyEW11,raw,ignoreeof TCP4:1.1.1.1:8899,ignoreeof & diff --git a/docker/buildx.sh b/docker/buildx.sh index 1e62228..38526a4 100755 --- a/docker/buildx.sh +++ b/docker/buildx.sh @@ -2,8 +2,8 @@ # # Script to build arm64 & amd64 containers that are published to docker.io # -# This should never be used, unless you want to deploy AqualinkD docker containers to docer.io -# It's here incase someone taked over this repo because I'm no longer around +# This should never be used, unless you want to deploy AqualinkD docker containers to docker.io +# It's here in case someone takes over this repo because I'm no longer around # IMAGE=aqualinkd diff --git a/extras/aqua.sh b/extras/aqua.sh index 08e90d8..7e89d8b 100755 --- a/extras/aqua.sh +++ b/extras/aqua.sh @@ -49,7 +49,7 @@ function print_usage { echoerr "$0 force_latest <- Force latest option (don't run any version checks)" echoerr "$0 install <- Install to local filesystem, (config files will not be overwritten)" echoerr "$0 clean <- Remove everything, including configuration files" - echoerr "$0