diff --git a/cerebro b/cerebro index eaa57de..78e1ab5 100644 --- a/cerebro +++ b/cerebro @@ -126,7 +126,7 @@ then exit fi -# ---------------------------------------------------------------------- +# Check if all dependencys are installed ---------------------------------- JQ=$(which jq) @@ -202,7 +202,7 @@ function banner() { clear } -# -------------------------------------------------------- +# Function that gets activated when program stops --------------------- function byemsg() { @@ -219,7 +219,7 @@ function byemsg() { exit } -# ------------------------------------------------ +# Print version ---------------------------------------- function VERSION() { echo " " @@ -249,7 +249,7 @@ function DB() { echo " " } -# ---------------------------------------------- +# The Menu --------------------------------------- function MENU() { @@ -346,7 +346,7 @@ function MENU() { fi } -# ------------------------------------------------------ +# Activate tor ------------------------------------------- function TOR() { @@ -398,7 +398,7 @@ function TOR() { } -# ---------------------------------------------------------------- +# Update function ---------------------------------------------------- function update() { echo " " @@ -429,7 +429,7 @@ function update() { sleep 2 } -# --------------------------------------------------- +# Check if program has been installed in the right directory ------------------ function installcerebro() { sudo echo "#installed" >> $0 @@ -469,7 +469,7 @@ fi clear -# --------------------------------------------------------- +# Check for replies ---------------------------------------- function REPLIECHECK() { echo " " @@ -489,7 +489,7 @@ function REPLIECHECK() { done } -# -------------------------------------------------------- +# send a sms ---------------------------------------------- function SENDSMS() { @@ -561,7 +561,7 @@ function SENDSMS() { fi } -# ---------------------------------------------------------------------- +# Check the status of the sms ------------------------------------------------------------- function SMSCHECK() { @@ -588,7 +588,7 @@ function SMSCHECK() { echo " " } -# ------------------------------------------------------------------- +# Check your remaining textbelt quota ------------------------------------- function QUOTACHECK() { @@ -615,7 +615,7 @@ function QUOTACHECK() { echo " " } -# ---------------------------------------------------------------------- +# send a test sms ---------------------------------------------------------- function TESTSMS() { @@ -669,7 +669,7 @@ function TESTSMS() { } -# ------------------------------------------------------------------ +# Show the help function ------------------------------------------- function helpfunction() { @@ -691,7 +691,7 @@ function helpfunction() { echo " " } -# ------------------------------------------------------------- +# Listern for flags -------------------------------------------------- if [ "$1" == "--statuscheck" ]