pre-1.7.1d update
This commit is contained in:
parent
c07de1ca51
commit
b35f819df0
|
|
@ -111,8 +111,9 @@ check_distro() {
|
||||||
fi
|
fi
|
||||||
|
|
||||||
findhostname=$(hostname)
|
findhostname=$(hostname)
|
||||||
|
findrelease=$(cat /etc/os-release | grep -i -c -m1 "2022.1")
|
||||||
# check for tracelabs osint vm, if found exit
|
# check for tracelabs osint vm, if found exit
|
||||||
if [[ "$finduser" == "osint" ]] && [[ "$findhostname" == "osint" ]] && [[ -f /var/share/icons/hicolor/scaleable/categories/tracelabs.svg ]]
|
if [[ "$finduser" == "osint" ]] && [[ "$findhostname" == "osint" ]] && [[ $findrelease -ge 1 ]]
|
||||||
then
|
then
|
||||||
echo -e "\n $redexclaim Tracelabs Osint VM Detected, exiting"
|
echo -e "\n $redexclaim Tracelabs Osint VM Detected, exiting"
|
||||||
exit
|
exit
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue