Browse Source

add adhoc

master
zeus 3 years ago
parent
commit
5e9aa58ca8
  1. 2
      auto-complete.sh
  2. 9
      build.sh

2
auto-complete.sh

@ -4,7 +4,7 @@ function libs()
{ {
if [ "$1" != "" ]; if [ "$1" != "" ];
then 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 fi
} }

9
build.sh

@ -33,6 +33,8 @@ usage ()
echo "" echo ""
echo -e " ${txtg}network-scanning:${NOCOLOR} This tutorial demonstrates some common nmap port scanning scenarios and explains the output. " echo -e " ${txtg}network-scanning:${NOCOLOR} This tutorial demonstrates some common nmap port scanning scenarios and explains the output. "
echo "" 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 -e " ${txtg}poc-datacollector:${NOCOLOR} This tutorial demonstrates, howto setup data collector & howto use it "
echo "" echo ""
echo -e " ${txtg}sensor-node:${NOCOLOR} This tutorial demonstrates, howto create a mote with Raspberry Pi and Arduino & howto use it " 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 COMMAND_CREATE=1
;; ;;
network-adhoc)
DESC="network-adhoc" ;
build="build-intro.sh" ;
docdir="intro" ;
COMMAND_CREATE=1
;;
sensor-node) sensor-node)
DESC="Sensor node" ; DESC="Sensor node" ;
build="build.sh" ; build="build.sh" ;

Loading…
Cancel
Save