From fcde9ce60597647be0a28f5a577fc7fc782d31fe Mon Sep 17 00:00:00 2001 From: zeus Date: Fri, 5 Nov 2021 20:31:20 +0200 Subject: [PATCH] sensor-node --- auto-complete.sh | 2 +- build.sh | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/auto-complete.sh b/auto-complete.sh index e1501fe..b70c6f2 100755 --- a/auto-complete.sh +++ b/auto-complete.sh @@ -4,7 +4,7 @@ function libs() { if [ "$1" != "" ]; then - COMPREPLY=($(compgen -W "network-scanning help" "${COMP_WORDS[$COMP_CWORD]}")) + COMPREPLY=($(compgen -W "network-scanning sensor-node help" "${COMP_WORDS[$COMP_CWORD]}")) fi } diff --git a/build.sh b/build.sh index 0d74109..ead1694 100755 --- a/build.sh +++ b/build.sh @@ -66,6 +66,13 @@ do COMMAND_CREATE=1 ;; + sensor-node) + DESC="Sensor node" ; + build="build-sensor-mote.sh" ; + docdir="sensor-node" ; + COMMAND_CREATE=1 + ;; + *) echo "ERROR: unknown parameter \"$PARAM\"" usage