mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2025-09-04 11:40:22 +00:00
FIX Build Fails - change to TERM=linux
This commit is contained in:
parent
252b9cd9b1
commit
b3c20aec7f
20 changed files with 50 additions and 52 deletions
|
@ -43,7 +43,6 @@
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
set -o pipefail
|
set -o pipefail
|
||||||
#export TERM=xterm
|
|
||||||
export TERM=linux
|
export TERM=linux
|
||||||
|
|
||||||
# ------------------------
|
# ------------------------
|
||||||
|
@ -57,7 +56,7 @@ blue=$(tput setaf 4)
|
||||||
magenta=$(tput setaf 5)
|
magenta=$(tput setaf 5)
|
||||||
cyan=$(tput setaf 6)
|
cyan=$(tput setaf 6)
|
||||||
white=$(tput setaf 7)
|
white=$(tput setaf 7)
|
||||||
#defaultcolor=$(tput setaf 7)
|
defaultcolor=$(tput setaf 7)
|
||||||
|
|
||||||
# ---------
|
# ---------
|
||||||
# FUNCTIONS
|
# FUNCTIONS
|
||||||
|
|
|
@ -43,10 +43,11 @@ export TERM=xterm
|
||||||
# SOFTWARE.
|
# SOFTWARE.
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
export TERM=linux
|
||||||
|
|
||||||
# ------------------------
|
# ------------------------
|
||||||
# Set Terminal Font Colors
|
# Set Terminal Font Colors
|
||||||
# ------------------------
|
# ------------------------
|
||||||
|
|
||||||
bold=$(tput bold)
|
bold=$(tput bold)
|
||||||
red=$(tput setaf 1)
|
red=$(tput setaf 1)
|
||||||
green=$(tput setaf 2)
|
green=$(tput setaf 2)
|
||||||
|
@ -55,7 +56,7 @@ blue=$(tput setaf 4)
|
||||||
magenta=$(tput setaf 5)
|
magenta=$(tput setaf 5)
|
||||||
cyan=$(tput setaf 6)
|
cyan=$(tput setaf 6)
|
||||||
white=$(tput setaf 7)
|
white=$(tput setaf 7)
|
||||||
defaultcolor=$(tput setaf default)
|
defaultcolor=$(tput setaf 7)
|
||||||
|
|
||||||
# ---------
|
# ---------
|
||||||
# Variables
|
# Variables
|
||||||
|
|
|
@ -45,12 +45,11 @@
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
set -o pipefail
|
set -o pipefail
|
||||||
export TERM=xterm
|
export TERM=linux
|
||||||
|
|
||||||
# ------------------------
|
# ------------------------
|
||||||
# Set Terminal Font Colors
|
# Set Terminal Font Colors
|
||||||
# ------------------------
|
# ------------------------
|
||||||
|
|
||||||
bold=$(tput bold)
|
bold=$(tput bold)
|
||||||
red=$(tput setaf 1)
|
red=$(tput setaf 1)
|
||||||
green=$(tput setaf 2)
|
green=$(tput setaf 2)
|
||||||
|
@ -59,7 +58,7 @@ blue=$(tput setaf 4)
|
||||||
magenta=$(tput setaf 5)
|
magenta=$(tput setaf 5)
|
||||||
cyan=$(tput setaf 6)
|
cyan=$(tput setaf 6)
|
||||||
white=$(tput setaf 7)
|
white=$(tput setaf 7)
|
||||||
defaultcolor=$(tput setaf default)
|
defaultcolor=$(tput setaf 7)
|
||||||
|
|
||||||
# --------------
|
# --------------
|
||||||
# File Variables
|
# File Variables
|
||||||
|
|
|
@ -18,7 +18,6 @@
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
set -o pipefail
|
set -o pipefail
|
||||||
#export TERM=xterm
|
|
||||||
export TERM=linux
|
export TERM=linux
|
||||||
|
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
# #
|
# #
|
||||||
##############################################################################
|
##############################################################################
|
||||||
|
|
||||||
export TERM=xterm
|
export TERM=linux
|
||||||
|
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
# MIT License
|
# MIT License
|
||||||
|
@ -46,7 +46,6 @@ export TERM=xterm
|
||||||
# ------------------------
|
# ------------------------
|
||||||
# Set Terminal Font Colors
|
# Set Terminal Font Colors
|
||||||
# ------------------------
|
# ------------------------
|
||||||
|
|
||||||
bold=$(tput bold)
|
bold=$(tput bold)
|
||||||
red=$(tput setaf 1)
|
red=$(tput setaf 1)
|
||||||
green=$(tput setaf 2)
|
green=$(tput setaf 2)
|
||||||
|
@ -55,7 +54,7 @@ blue=$(tput setaf 4)
|
||||||
magenta=$(tput setaf 5)
|
magenta=$(tput setaf 5)
|
||||||
cyan=$(tput setaf 6)
|
cyan=$(tput setaf 6)
|
||||||
white=$(tput setaf 7)
|
white=$(tput setaf 7)
|
||||||
defaultcolor=$(tput setaf default)
|
defaultcolor=$(tput setaf 7)
|
||||||
|
|
||||||
# ---------
|
# ---------
|
||||||
# FUNCTIONS
|
# FUNCTIONS
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
# #
|
# #
|
||||||
##############################################################################
|
##############################################################################
|
||||||
|
|
||||||
export TERM=xterm
|
export TERM=linux
|
||||||
|
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
# MIT License
|
# MIT License
|
||||||
|
@ -46,7 +46,6 @@ export TERM=xterm
|
||||||
# ------------------------
|
# ------------------------
|
||||||
# Set Terminal Font Colors
|
# Set Terminal Font Colors
|
||||||
# ------------------------
|
# ------------------------
|
||||||
|
|
||||||
bold=$(tput bold)
|
bold=$(tput bold)
|
||||||
red=$(tput setaf 1)
|
red=$(tput setaf 1)
|
||||||
green=$(tput setaf 2)
|
green=$(tput setaf 2)
|
||||||
|
@ -55,7 +54,7 @@ blue=$(tput setaf 4)
|
||||||
magenta=$(tput setaf 5)
|
magenta=$(tput setaf 5)
|
||||||
cyan=$(tput setaf 6)
|
cyan=$(tput setaf 6)
|
||||||
white=$(tput setaf 7)
|
white=$(tput setaf 7)
|
||||||
defaultcolor=$(tput setaf default)
|
defaultcolor=$(tput setaf 7)
|
||||||
|
|
||||||
# ---------
|
# ---------
|
||||||
# FUNCTIONS
|
# FUNCTIONS
|
||||||
|
|
|
@ -43,10 +43,11 @@ export TERM=xterm
|
||||||
# SOFTWARE.
|
# SOFTWARE.
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
export TERM=linux
|
||||||
|
|
||||||
# ------------------------
|
# ------------------------
|
||||||
# Set Terminal Font Colors
|
# Set Terminal Font Colors
|
||||||
# ------------------------
|
# ------------------------
|
||||||
|
|
||||||
bold=$(tput bold)
|
bold=$(tput bold)
|
||||||
red=$(tput setaf 1)
|
red=$(tput setaf 1)
|
||||||
green=$(tput setaf 2)
|
green=$(tput setaf 2)
|
||||||
|
@ -55,7 +56,7 @@ blue=$(tput setaf 4)
|
||||||
magenta=$(tput setaf 5)
|
magenta=$(tput setaf 5)
|
||||||
cyan=$(tput setaf 6)
|
cyan=$(tput setaf 6)
|
||||||
white=$(tput setaf 7)
|
white=$(tput setaf 7)
|
||||||
defaultcolor=$(tput setaf default)
|
defaultcolor=$(tput setaf 7)
|
||||||
|
|
||||||
# ---------
|
# ---------
|
||||||
# Variables
|
# Variables
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
set -o pipefail
|
set -o pipefail
|
||||||
export TERM=xterm
|
export TERM=linux
|
||||||
|
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
# MIT License
|
# MIT License
|
||||||
|
@ -48,7 +48,6 @@ export TERM=xterm
|
||||||
# ------------------------
|
# ------------------------
|
||||||
# Set Terminal Font Colors
|
# Set Terminal Font Colors
|
||||||
# ------------------------
|
# ------------------------
|
||||||
|
|
||||||
bold=$(tput bold)
|
bold=$(tput bold)
|
||||||
red=$(tput setaf 1)
|
red=$(tput setaf 1)
|
||||||
green=$(tput setaf 2)
|
green=$(tput setaf 2)
|
||||||
|
@ -57,7 +56,7 @@ blue=$(tput setaf 4)
|
||||||
magenta=$(tput setaf 5)
|
magenta=$(tput setaf 5)
|
||||||
cyan=$(tput setaf 6)
|
cyan=$(tput setaf 6)
|
||||||
white=$(tput setaf 7)
|
white=$(tput setaf 7)
|
||||||
defaultcolor=$(tput setaf default)
|
defaultcolor=$(tput setaf 7)
|
||||||
|
|
||||||
# ---------
|
# ---------
|
||||||
# Variables
|
# Variables
|
||||||
|
|
|
@ -41,12 +41,11 @@
|
||||||
# SOFTWARE.
|
# SOFTWARE.
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
export TERM=xterm
|
export TERM=linux
|
||||||
|
|
||||||
# ------------------------
|
# ------------------------
|
||||||
# Set Terminal Font Colors
|
# Set Terminal Font Colors
|
||||||
# ------------------------
|
# ------------------------
|
||||||
|
|
||||||
bold=$(tput bold)
|
bold=$(tput bold)
|
||||||
red=$(tput setaf 1)
|
red=$(tput setaf 1)
|
||||||
green=$(tput setaf 2)
|
green=$(tput setaf 2)
|
||||||
|
@ -55,7 +54,7 @@ blue=$(tput setaf 4)
|
||||||
magenta=$(tput setaf 5)
|
magenta=$(tput setaf 5)
|
||||||
cyan=$(tput setaf 6)
|
cyan=$(tput setaf 6)
|
||||||
white=$(tput setaf 7)
|
white=$(tput setaf 7)
|
||||||
defaultcolor=$(tput setaf default)
|
defaultcolor=$(tput setaf 7)
|
||||||
|
|
||||||
# ------------------------------
|
# ------------------------------
|
||||||
# Specify Input and Output Files
|
# Specify Input and Output Files
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
# #
|
# #
|
||||||
##############################################################################
|
##############################################################################
|
||||||
|
|
||||||
export TERM=xterm
|
export TERM=linux
|
||||||
|
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
# MIT License
|
# MIT License
|
||||||
|
@ -46,7 +46,6 @@ export TERM=xterm
|
||||||
# ------------------------
|
# ------------------------
|
||||||
# Set Terminal Font Colors
|
# Set Terminal Font Colors
|
||||||
# ------------------------
|
# ------------------------
|
||||||
|
|
||||||
bold=$(tput bold)
|
bold=$(tput bold)
|
||||||
red=$(tput setaf 1)
|
red=$(tput setaf 1)
|
||||||
green=$(tput setaf 2)
|
green=$(tput setaf 2)
|
||||||
|
@ -55,7 +54,7 @@ blue=$(tput setaf 4)
|
||||||
magenta=$(tput setaf 5)
|
magenta=$(tput setaf 5)
|
||||||
cyan=$(tput setaf 6)
|
cyan=$(tput setaf 6)
|
||||||
white=$(tput setaf 7)
|
white=$(tput setaf 7)
|
||||||
defaultcolor=$(tput setaf default)
|
defaultcolor=$(tput setaf 7)
|
||||||
|
|
||||||
# ---------
|
# ---------
|
||||||
# FUNCTIONS
|
# FUNCTIONS
|
||||||
|
|
|
@ -41,7 +41,7 @@
|
||||||
# SOFTWARE.
|
# SOFTWARE.
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
export TERM=xterm
|
export TERM=linux
|
||||||
|
|
||||||
# -------------------------------------------
|
# -------------------------------------------
|
||||||
# For Testing REGEX and False Positives Cases
|
# For Testing REGEX and False Positives Cases
|
||||||
|
@ -51,6 +51,11 @@ export TERM=xterm
|
||||||
# Set Terminal Font Colors
|
# Set Terminal Font Colors
|
||||||
# ------------------------
|
# ------------------------
|
||||||
|
|
||||||
|
export TERM=linux
|
||||||
|
|
||||||
|
# ------------------------
|
||||||
|
# Set Terminal Font Colors
|
||||||
|
# ------------------------
|
||||||
bold=$(tput bold)
|
bold=$(tput bold)
|
||||||
red=$(tput setaf 1)
|
red=$(tput setaf 1)
|
||||||
green=$(tput setaf 2)
|
green=$(tput setaf 2)
|
||||||
|
@ -59,7 +64,7 @@ blue=$(tput setaf 4)
|
||||||
magenta=$(tput setaf 5)
|
magenta=$(tput setaf 5)
|
||||||
cyan=$(tput setaf 6)
|
cyan=$(tput setaf 6)
|
||||||
white=$(tput setaf 7)
|
white=$(tput setaf 7)
|
||||||
defaultcolor=$(tput setaf default)
|
defaultcolor=$(tput setaf 7)
|
||||||
|
|
||||||
# -----------------------------
|
# -----------------------------
|
||||||
# USER-AGENT ARRAY - MUST MATCH
|
# USER-AGENT ARRAY - MUST MATCH
|
||||||
|
|
|
@ -43,10 +43,11 @@ export TERM=xterm
|
||||||
# SOFTWARE.
|
# SOFTWARE.
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
export TERM=linux
|
||||||
|
|
||||||
# ------------------------
|
# ------------------------
|
||||||
# Set Terminal Font Colors
|
# Set Terminal Font Colors
|
||||||
# ------------------------
|
# ------------------------
|
||||||
|
|
||||||
bold=$(tput bold)
|
bold=$(tput bold)
|
||||||
red=$(tput setaf 1)
|
red=$(tput setaf 1)
|
||||||
green=$(tput setaf 2)
|
green=$(tput setaf 2)
|
||||||
|
@ -55,7 +56,7 @@ blue=$(tput setaf 4)
|
||||||
magenta=$(tput setaf 5)
|
magenta=$(tput setaf 5)
|
||||||
cyan=$(tput setaf 6)
|
cyan=$(tput setaf 6)
|
||||||
white=$(tput setaf 7)
|
white=$(tput setaf 7)
|
||||||
defaultcolor=$(tput setaf default)
|
defaultcolor=$(tput setaf 7)
|
||||||
|
|
||||||
# ---------
|
# ---------
|
||||||
# FUNCTIONS
|
# FUNCTIONS
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
# #
|
# #
|
||||||
##############################################################################
|
##############################################################################
|
||||||
|
|
||||||
export TERM=xterm
|
export TERM=linux
|
||||||
|
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
# MIT License
|
# MIT License
|
||||||
|
@ -46,7 +46,6 @@ export TERM=xterm
|
||||||
# ------------------------
|
# ------------------------
|
||||||
# Set Terminal Font Colors
|
# Set Terminal Font Colors
|
||||||
# ------------------------
|
# ------------------------
|
||||||
|
|
||||||
bold=$(tput bold)
|
bold=$(tput bold)
|
||||||
red=$(tput setaf 1)
|
red=$(tput setaf 1)
|
||||||
green=$(tput setaf 2)
|
green=$(tput setaf 2)
|
||||||
|
@ -55,7 +54,7 @@ blue=$(tput setaf 4)
|
||||||
magenta=$(tput setaf 5)
|
magenta=$(tput setaf 5)
|
||||||
cyan=$(tput setaf 6)
|
cyan=$(tput setaf 6)
|
||||||
white=$(tput setaf 7)
|
white=$(tput setaf 7)
|
||||||
defaultcolor=$(tput setaf default)
|
defaultcolor=$(tput setaf 7)
|
||||||
|
|
||||||
# ---------
|
# ---------
|
||||||
# FUNCTIONS
|
# FUNCTIONS
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
# #
|
# #
|
||||||
##############################################################################
|
##############################################################################
|
||||||
|
|
||||||
export TERM=xterm
|
export TERM=linux
|
||||||
|
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
# MIT License
|
# MIT License
|
||||||
|
@ -46,7 +46,6 @@ export TERM=xterm
|
||||||
# ------------------------
|
# ------------------------
|
||||||
# Set Terminal Font Colors
|
# Set Terminal Font Colors
|
||||||
# ------------------------
|
# ------------------------
|
||||||
|
|
||||||
bold=$(tput bold)
|
bold=$(tput bold)
|
||||||
red=$(tput setaf 1)
|
red=$(tput setaf 1)
|
||||||
green=$(tput setaf 2)
|
green=$(tput setaf 2)
|
||||||
|
@ -55,7 +54,7 @@ blue=$(tput setaf 4)
|
||||||
magenta=$(tput setaf 5)
|
magenta=$(tput setaf 5)
|
||||||
cyan=$(tput setaf 6)
|
cyan=$(tput setaf 6)
|
||||||
white=$(tput setaf 7)
|
white=$(tput setaf 7)
|
||||||
defaultcolor=$(tput setaf default)
|
defaultcolor=$(tput setaf 7)
|
||||||
|
|
||||||
# ---------
|
# ---------
|
||||||
# FUNCTIONS
|
# FUNCTIONS
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
# #
|
# #
|
||||||
##############################################################################
|
##############################################################################
|
||||||
|
|
||||||
export TERM=xterm
|
export TERM=linux
|
||||||
|
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
# MIT License
|
# MIT License
|
||||||
|
@ -46,7 +46,6 @@ export TERM=xterm
|
||||||
# ------------------------
|
# ------------------------
|
||||||
# Set Terminal Font Colors
|
# Set Terminal Font Colors
|
||||||
# ------------------------
|
# ------------------------
|
||||||
|
|
||||||
bold=$(tput bold)
|
bold=$(tput bold)
|
||||||
red=$(tput setaf 1)
|
red=$(tput setaf 1)
|
||||||
green=$(tput setaf 2)
|
green=$(tput setaf 2)
|
||||||
|
@ -55,8 +54,8 @@ blue=$(tput setaf 4)
|
||||||
magenta=$(tput setaf 5)
|
magenta=$(tput setaf 5)
|
||||||
cyan=$(tput setaf 6)
|
cyan=$(tput setaf 6)
|
||||||
white=$(tput setaf 7)
|
white=$(tput setaf 7)
|
||||||
defaultcolor=$(tput setaf default)
|
defaultcolor=$(tput setaf 7)
|
||||||
#thisip=$(dig +short myip.opendns.com @resolver1.opendns.com)
|
|
||||||
thisip=$(ip -o route get to 8.8.8.8 | sed -n 's/.*src \([0-9.]\+\).*/\1/p')
|
thisip=$(ip -o route get to 8.8.8.8 | sed -n 's/.*src \([0-9.]\+\).*/\1/p')
|
||||||
|
|
||||||
# ---------
|
# ---------
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
# #
|
# #
|
||||||
##############################################################################
|
##############################################################################
|
||||||
|
|
||||||
export TERM=xterm
|
export TERM=linux
|
||||||
|
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
# MIT License
|
# MIT License
|
||||||
|
@ -46,7 +46,6 @@ export TERM=xterm
|
||||||
# ------------------------
|
# ------------------------
|
||||||
# Set Terminal Font Colors
|
# Set Terminal Font Colors
|
||||||
# ------------------------
|
# ------------------------
|
||||||
|
|
||||||
bold=$(tput bold)
|
bold=$(tput bold)
|
||||||
red=$(tput setaf 1)
|
red=$(tput setaf 1)
|
||||||
green=$(tput setaf 2)
|
green=$(tput setaf 2)
|
||||||
|
@ -55,7 +54,7 @@ blue=$(tput setaf 4)
|
||||||
magenta=$(tput setaf 5)
|
magenta=$(tput setaf 5)
|
||||||
cyan=$(tput setaf 6)
|
cyan=$(tput setaf 6)
|
||||||
white=$(tput setaf 7)
|
white=$(tput setaf 7)
|
||||||
defaultcolor=$(tput setaf default)
|
defaultcolor=$(tput setaf 7)
|
||||||
|
|
||||||
# ---------
|
# ---------
|
||||||
# FUNCTIONS
|
# FUNCTIONS
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
# #
|
# #
|
||||||
##############################################################################
|
##############################################################################
|
||||||
|
|
||||||
export TERM=xterm
|
export TERM=linux
|
||||||
|
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
# MIT License
|
# MIT License
|
||||||
|
@ -46,7 +46,6 @@ export TERM=xterm
|
||||||
# ------------------------
|
# ------------------------
|
||||||
# Set Terminal Font Colors
|
# Set Terminal Font Colors
|
||||||
# ------------------------
|
# ------------------------
|
||||||
|
|
||||||
bold=$(tput bold)
|
bold=$(tput bold)
|
||||||
red=$(tput setaf 1)
|
red=$(tput setaf 1)
|
||||||
green=$(tput setaf 2)
|
green=$(tput setaf 2)
|
||||||
|
@ -55,7 +54,7 @@ blue=$(tput setaf 4)
|
||||||
magenta=$(tput setaf 5)
|
magenta=$(tput setaf 5)
|
||||||
cyan=$(tput setaf 6)
|
cyan=$(tput setaf 6)
|
||||||
white=$(tput setaf 7)
|
white=$(tput setaf 7)
|
||||||
defaultcolor=$(tput setaf default)
|
defaultcolor=$(tput setaf 7)
|
||||||
|
|
||||||
# ---------
|
# ---------
|
||||||
# FUNCTIONS
|
# FUNCTIONS
|
||||||
|
|
|
@ -41,12 +41,11 @@
|
||||||
# SOFTWARE.
|
# SOFTWARE.
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
export TERM=xterm
|
export TERM=linux
|
||||||
|
|
||||||
# ------------------------
|
# ------------------------
|
||||||
# Set Terminal Font Colors
|
# Set Terminal Font Colors
|
||||||
# ------------------------
|
# ------------------------
|
||||||
|
|
||||||
bold=$(tput bold)
|
bold=$(tput bold)
|
||||||
red=$(tput setaf 1)
|
red=$(tput setaf 1)
|
||||||
green=$(tput setaf 2)
|
green=$(tput setaf 2)
|
||||||
|
@ -55,7 +54,7 @@ blue=$(tput setaf 4)
|
||||||
magenta=$(tput setaf 5)
|
magenta=$(tput setaf 5)
|
||||||
cyan=$(tput setaf 6)
|
cyan=$(tput setaf 6)
|
||||||
white=$(tput setaf 7)
|
white=$(tput setaf 7)
|
||||||
defaultcolor=$(tput setaf default)
|
defaultcolor=$(tput setaf 7)
|
||||||
|
|
||||||
# ---------
|
# ---------
|
||||||
# FUNCTIONS
|
# FUNCTIONS
|
||||||
|
|
|
@ -41,12 +41,11 @@
|
||||||
# SOFTWARE.
|
# SOFTWARE.
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
export TERM=xterm
|
export TERM=linux
|
||||||
|
|
||||||
# ------------------------
|
# ------------------------
|
||||||
# Set Terminal Font Colors
|
# Set Terminal Font Colors
|
||||||
# ------------------------
|
# ------------------------
|
||||||
|
|
||||||
bold=$(tput bold)
|
bold=$(tput bold)
|
||||||
red=$(tput setaf 1)
|
red=$(tput setaf 1)
|
||||||
green=$(tput setaf 2)
|
green=$(tput setaf 2)
|
||||||
|
@ -55,7 +54,7 @@ blue=$(tput setaf 4)
|
||||||
magenta=$(tput setaf 5)
|
magenta=$(tput setaf 5)
|
||||||
cyan=$(tput setaf 6)
|
cyan=$(tput setaf 6)
|
||||||
white=$(tput setaf 7)
|
white=$(tput setaf 7)
|
||||||
defaultcolor=$(tput setaf default)
|
defaultcolor=$(tput setaf 7)
|
||||||
|
|
||||||
# ---------
|
# ---------
|
||||||
# FUNCTIONS
|
# FUNCTIONS
|
||||||
|
|
|
@ -32,6 +32,11 @@
|
||||||
# Set Terminal Font Colors
|
# Set Terminal Font Colors
|
||||||
# ------------------------
|
# ------------------------
|
||||||
|
|
||||||
|
export TERM=linux
|
||||||
|
|
||||||
|
# ------------------------
|
||||||
|
# Set Terminal Font Colors
|
||||||
|
# ------------------------
|
||||||
bold=$(tput bold)
|
bold=$(tput bold)
|
||||||
red=$(tput setaf 1)
|
red=$(tput setaf 1)
|
||||||
green=$(tput setaf 2)
|
green=$(tput setaf 2)
|
||||||
|
@ -40,7 +45,7 @@ blue=$(tput setaf 4)
|
||||||
magenta=$(tput setaf 5)
|
magenta=$(tput setaf 5)
|
||||||
cyan=$(tput setaf 6)
|
cyan=$(tput setaf 6)
|
||||||
white=$(tput setaf 7)
|
white=$(tput setaf 7)
|
||||||
defaultcolor=$(tput setaf default)
|
defaultcolor=$(tput setaf 7)
|
||||||
|
|
||||||
# ---------
|
# ---------
|
||||||
# Variables
|
# Variables
|
||||||
|
|
Loading…
Add table
Reference in a new issue