17 lines
407 B
Bash
Executable File
17 lines
407 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
action="$1"
|
|
FOLDER='/opt/idssys/linupx'
|
|
VERS='6.60.1-08282023'
|
|
|
|
[ "$(dpkg-query -W --showformat='${Status}\n' grepcidr | grep "install ok installed")" == "" ] && sudo ${APTFUNC} -y install grepcidr >/dev/null 2>&1
|
|
|
|
Color_Off='\033[0m'
|
|
Blue='\033[0;34m'
|
|
BBlue='\033[1;34m'
|
|
Green='\033[0;32m'
|
|
LGreen='\033[1;32m'
|
|
BOrange='\033[0;33m'
|
|
DGray='\033[1;30m'
|
|
Red='\033[10;31m'
|
|
LRed='\033[1;31m' |