|
@ -1,5 +1,12 @@ |
|
|
#!/bin/bash |
|
|
#!/bin/bash |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
txturl='\033[1;36m' |
|
|
|
|
|
txturl1='\033[0;36m' |
|
|
|
|
|
txtg='\033[0;32m' |
|
|
|
|
|
NOCOLOR='\033[0m' |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
repoupdate () |
|
|
repoupdate () |
|
|
{ |
|
|
{ |
|
|
echo "" |
|
|
echo "" |
|
@ -22,22 +29,20 @@ usage () |
|
|
echo "" |
|
|
echo "" |
|
|
echo " Examples of [OPTIONS] can be:" |
|
|
echo " Examples of [OPTIONS] can be:" |
|
|
echo "" |
|
|
echo "" |
|
|
echo " network-scanning: 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 " sensor-node: 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 " |
|
|
echo "" |
|
|
echo "" |
|
|
echo " help: show this message" |
|
|
echo -e " ${txtg}help:${NOCOLOR} show this message" |
|
|
echo " ./build.sh help" |
|
|
echo " ./build.sh help" |
|
|
echo "" |
|
|
echo "" |
|
|
echo " ********************************************" |
|
|
echo " ********************************************" |
|
|
echo " On Error:" |
|
|
echo -e " ${txturl1}On Error:${NOCOLOR}" |
|
|
|
|
|
|
|
|
echo " Get https://hub.swarmlab.io:5480/v2/: x509: certificate" |
|
|
echo " Get https://hub.swarmlab.io:5480/v2/: x509: certificate" |
|
|
echo " Pulling …" |
|
|
|
|
|
echo " ERROR: Get https://hub.swarmlab.io:5480/v2/: x509: certificate signed by unknown authority" |
|
|
echo " ERROR: Get https://hub.swarmlab.io:5480/v2/: x509: certificate signed by unknown authority" |
|
|
echo "" |
|
|
echo -e " ${txturl1}run:${NOCOLOR}" |
|
|
echo " run:" |
|
|
echo -e " ${txtg}./0-get-certs.sh${NOCOLOR} " |
|
|
echo " ./0-get-certs.sh " |
|
|
|
|
|
echo " ********************************************" |
|
|
echo " ********************************************" |
|
|
echo "" |
|
|
echo "" |
|
|
echo " " |
|
|
echo " " |
|
|