diff --git a/auto-complete.sh b/auto-complete.sh index e7a53a1..7ec8990 100755 --- a/auto-complete.sh +++ b/auto-complete.sh @@ -4,7 +4,7 @@ function libs() { if [ "$1" != "" ]; then - COMPREPLY=($(compgen -W "network-scanning sensor-node ssh-tunneling iptables poc-datacollector help" "${COMP_WORDS[$COMP_CWORD]}")) + COMPREPLY=($(compgen -W "network-scanning network-adhoc sensor-node ssh-tunneling iptables poc-datacollector help" "${COMP_WORDS[$COMP_CWORD]}")) fi } diff --git a/build.sh b/build.sh index 3abd18d..b483ca0 100755 --- a/build.sh +++ b/build.sh @@ -33,6 +33,8 @@ usage () echo "" echo -e " ${txtg}network-scanning:${NOCOLOR} This tutorial demonstrates some common nmap port scanning scenarios and explains the output. " echo "" + echo -e " ${txtg}network-adhoc:${NOCOLOR} This tutorial demonstrates, howto setup ad-hoc network & howto use it " + echo "" echo -e " ${txtg}poc-datacollector:${NOCOLOR} This tutorial demonstrates, howto setup data collector & howto use it " echo "" echo -e " ${txtg}sensor-node:${NOCOLOR} This tutorial demonstrates, howto create a mote with Raspberry Pi and Arduino & howto use it " @@ -98,6 +100,13 @@ do COMMAND_CREATE=1 ;; + network-adhoc) + DESC="network-adhoc" ; + build="build-intro.sh" ; + docdir="intro" ; + COMMAND_CREATE=1 + ;; + sensor-node) DESC="Sensor node" ; build="build.sh" ;