mirror of https://github.com/tteck/Proxmox.git
				
				
				
			match input if it's "y" or "yes" (case-insensitive)
This commit is contained in:
		
							parent
							
								
									259ba993a2
								
							
						
					
					
						commit
						12d5a78a30
					
				| 
						 | 
					@ -69,7 +69,7 @@ trap - ERR
 | 
				
			||||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
					if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
				
			||||||
  msg_error "Internet NOT Connected"
 | 
					  msg_error "Internet NOT Connected"
 | 
				
			||||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
					    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
				
			||||||
    if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
 | 
					    if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
 | 
				
			||||||
      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
					      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
				
			||||||
    else
 | 
					    else
 | 
				
			||||||
      echo -e " 🖧  Check Network Settings"
 | 
					      echo -e " 🖧  Check Network Settings"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -74,7 +74,7 @@ trap - ERR
 | 
				
			||||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
					if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
				
			||||||
  msg_error "Internet NOT Connected"
 | 
					  msg_error "Internet NOT Connected"
 | 
				
			||||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
					    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
				
			||||||
    if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
 | 
					    if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
 | 
				
			||||||
      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
					      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
				
			||||||
    else
 | 
					    else
 | 
				
			||||||
      echo -e " 🖧  Check Network Settings"
 | 
					      echo -e " 🖧  Check Network Settings"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -68,7 +68,7 @@ trap - ERR
 | 
				
			||||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
					if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
				
			||||||
  msg_error "Internet NOT Connected"
 | 
					  msg_error "Internet NOT Connected"
 | 
				
			||||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
					    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
				
			||||||
    if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
 | 
					    if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
 | 
				
			||||||
      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
					      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
				
			||||||
    else
 | 
					    else
 | 
				
			||||||
      echo -e " 🖧  Check Network Settings"
 | 
					      echo -e " 🖧  Check Network Settings"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -68,7 +68,7 @@ trap - ERR
 | 
				
			||||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
					if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
				
			||||||
  msg_error "Internet NOT Connected"
 | 
					  msg_error "Internet NOT Connected"
 | 
				
			||||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
					    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
				
			||||||
    if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
 | 
					    if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
 | 
				
			||||||
      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
					      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
				
			||||||
    else
 | 
					    else
 | 
				
			||||||
      echo -e " 🖧  Check Network Settings"
 | 
					      echo -e " 🖧  Check Network Settings"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -68,7 +68,7 @@ trap - ERR
 | 
				
			||||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
					if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
				
			||||||
  msg_error "Internet NOT Connected"
 | 
					  msg_error "Internet NOT Connected"
 | 
				
			||||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
					    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
				
			||||||
    if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
 | 
					    if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
 | 
				
			||||||
      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
					      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
				
			||||||
    else
 | 
					    else
 | 
				
			||||||
      echo -e " 🖧  Check Network Settings"
 | 
					      echo -e " 🖧  Check Network Settings"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -69,7 +69,7 @@ trap - ERR
 | 
				
			||||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
					if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
				
			||||||
  msg_error "Internet NOT Connected"
 | 
					  msg_error "Internet NOT Connected"
 | 
				
			||||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
					    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
				
			||||||
    if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
 | 
					    if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
 | 
				
			||||||
      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
					      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
				
			||||||
    else
 | 
					    else
 | 
				
			||||||
      echo -e " 🖧  Check Network Settings"
 | 
					      echo -e " 🖧  Check Network Settings"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -68,7 +68,7 @@ trap - ERR
 | 
				
			||||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
					if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
				
			||||||
  msg_error "Internet NOT Connected"
 | 
					  msg_error "Internet NOT Connected"
 | 
				
			||||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
					    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
				
			||||||
    if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
 | 
					    if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
 | 
				
			||||||
      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
					      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
				
			||||||
    else
 | 
					    else
 | 
				
			||||||
      echo -e " 🖧  Check Network Settings"
 | 
					      echo -e " 🖧  Check Network Settings"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -68,7 +68,7 @@ trap - ERR
 | 
				
			||||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
					if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
				
			||||||
  msg_error "Internet NOT Connected"
 | 
					  msg_error "Internet NOT Connected"
 | 
				
			||||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
					    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
				
			||||||
    if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
 | 
					    if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
 | 
				
			||||||
      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
					      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
				
			||||||
    else
 | 
					    else
 | 
				
			||||||
      echo -e " 🖧  Check Network Settings"
 | 
					      echo -e " 🖧  Check Network Settings"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -69,7 +69,7 @@ trap - ERR
 | 
				
			||||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
					if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
				
			||||||
  msg_error "Internet NOT Connected"
 | 
					  msg_error "Internet NOT Connected"
 | 
				
			||||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
					    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
				
			||||||
    if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
 | 
					    if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
 | 
				
			||||||
      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
					      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
				
			||||||
    else
 | 
					    else
 | 
				
			||||||
      echo -e " 🖧  Check Network Settings"
 | 
					      echo -e " 🖧  Check Network Settings"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -69,7 +69,7 @@ trap - ERR
 | 
				
			||||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
					if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
				
			||||||
  msg_error "Internet NOT Connected"
 | 
					  msg_error "Internet NOT Connected"
 | 
				
			||||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
					    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
				
			||||||
    if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
 | 
					    if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
 | 
				
			||||||
      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
					      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
				
			||||||
    else
 | 
					    else
 | 
				
			||||||
      echo -e " 🖧  Check Network Settings"
 | 
					      echo -e " 🖧  Check Network Settings"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -68,7 +68,7 @@ trap - ERR
 | 
				
			||||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
					if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
				
			||||||
  msg_error "Internet NOT Connected"
 | 
					  msg_error "Internet NOT Connected"
 | 
				
			||||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
					    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
				
			||||||
    if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
 | 
					    if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
 | 
				
			||||||
      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
					      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
				
			||||||
    else
 | 
					    else
 | 
				
			||||||
      echo -e " 🖧  Check Network Settings"
 | 
					      echo -e " 🖧  Check Network Settings"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -69,7 +69,7 @@ trap - ERR
 | 
				
			||||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
					if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
				
			||||||
  msg_error "Internet NOT Connected"
 | 
					  msg_error "Internet NOT Connected"
 | 
				
			||||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
					    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
				
			||||||
    if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
 | 
					    if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
 | 
				
			||||||
      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
					      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
				
			||||||
    else
 | 
					    else
 | 
				
			||||||
      echo -e " 🖧  Check Network Settings"
 | 
					      echo -e " 🖧  Check Network Settings"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -68,7 +68,7 @@ trap - ERR
 | 
				
			||||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
					if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
				
			||||||
  msg_error "Internet NOT Connected"
 | 
					  msg_error "Internet NOT Connected"
 | 
				
			||||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
					    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
				
			||||||
    if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
 | 
					    if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
 | 
				
			||||||
      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
					      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
				
			||||||
    else
 | 
					    else
 | 
				
			||||||
      echo -e " 🖧  Check Network Settings"
 | 
					      echo -e " 🖧  Check Network Settings"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -64,7 +64,7 @@ trap - ERR
 | 
				
			||||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
					if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
				
			||||||
  msg_error "Internet NOT Connected"
 | 
					  msg_error "Internet NOT Connected"
 | 
				
			||||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
					    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
				
			||||||
    if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
 | 
					    if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
 | 
				
			||||||
      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
					      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
				
			||||||
    else
 | 
					    else
 | 
				
			||||||
      echo -e " 🖧  Check Network Settings"
 | 
					      echo -e " 🖧  Check Network Settings"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -69,7 +69,7 @@ trap - ERR
 | 
				
			||||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
					if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
				
			||||||
  msg_error "Internet NOT Connected"
 | 
					  msg_error "Internet NOT Connected"
 | 
				
			||||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
					    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
				
			||||||
    if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
 | 
					    if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
 | 
				
			||||||
      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
					      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
				
			||||||
    else
 | 
					    else
 | 
				
			||||||
      echo -e " 🖧  Check Network Settings"
 | 
					      echo -e " 🖧  Check Network Settings"
 | 
				
			||||||
| 
						 | 
					@ -117,7 +117,7 @@ $STD sh <(curl -sSL https://get.docker.com)
 | 
				
			||||||
msg_ok "Installed Docker $DOCKER_LATEST_VERSION"
 | 
					msg_ok "Installed Docker $DOCKER_LATEST_VERSION"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
read -r -p "Would you like to add Portainer? <y/N> " prompt
 | 
					read -r -p "Would you like to add Portainer? <y/N> " prompt
 | 
				
			||||||
if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
 | 
					if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
 | 
				
			||||||
  PORTAINER="Y"
 | 
					  PORTAINER="Y"
 | 
				
			||||||
else
 | 
					else
 | 
				
			||||||
  PORTAINER="N"
 | 
					  PORTAINER="N"
 | 
				
			||||||
| 
						 | 
					@ -138,7 +138,7 @@ if [[ $PORTAINER == "Y" ]]; then
 | 
				
			||||||
fi
 | 
					fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
read -r -p "Would you like to add Docker Compose? <y/N> " prompt
 | 
					read -r -p "Would you like to add Docker Compose? <y/N> " prompt
 | 
				
			||||||
if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
 | 
					if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
 | 
				
			||||||
  DOCKER_COMPOSE="Y"
 | 
					  DOCKER_COMPOSE="Y"
 | 
				
			||||||
else
 | 
					else
 | 
				
			||||||
  DOCKER_COMPOSE="N"
 | 
					  DOCKER_COMPOSE="N"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -69,7 +69,7 @@ trap - ERR
 | 
				
			||||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
					if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
				
			||||||
  msg_error "Internet NOT Connected"
 | 
					  msg_error "Internet NOT Connected"
 | 
				
			||||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
					    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
				
			||||||
    if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
 | 
					    if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
 | 
				
			||||||
      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
					      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
				
			||||||
    else
 | 
					    else
 | 
				
			||||||
      echo -e " 🖧  Check Network Settings"
 | 
					      echo -e " 🖧  Check Network Settings"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -68,7 +68,7 @@ trap - ERR
 | 
				
			||||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
					if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
				
			||||||
  msg_error "Internet NOT Connected"
 | 
					  msg_error "Internet NOT Connected"
 | 
				
			||||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
					    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
				
			||||||
    if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
 | 
					    if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
 | 
				
			||||||
      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
					      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
				
			||||||
    else
 | 
					    else
 | 
				
			||||||
      echo -e " 🖧  Check Network Settings"
 | 
					      echo -e " 🖧  Check Network Settings"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -69,7 +69,7 @@ trap - ERR
 | 
				
			||||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
					if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
				
			||||||
  msg_error "Internet NOT Connected"
 | 
					  msg_error "Internet NOT Connected"
 | 
				
			||||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
					    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
				
			||||||
    if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
 | 
					    if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
 | 
				
			||||||
      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
					      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
				
			||||||
    else
 | 
					    else
 | 
				
			||||||
      echo -e " 🖧  Check Network Settings"
 | 
					      echo -e " 🖧  Check Network Settings"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -68,7 +68,7 @@ trap - ERR
 | 
				
			||||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
					if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
				
			||||||
  msg_error "Internet NOT Connected"
 | 
					  msg_error "Internet NOT Connected"
 | 
				
			||||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
					    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
				
			||||||
    if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
 | 
					    if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
 | 
				
			||||||
      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
					      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
				
			||||||
    else
 | 
					    else
 | 
				
			||||||
      echo -e " 🖧  Check Network Settings"
 | 
					      echo -e " 🖧  Check Network Settings"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -69,7 +69,7 @@ trap - ERR
 | 
				
			||||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
					if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
				
			||||||
  msg_error "Internet NOT Connected"
 | 
					  msg_error "Internet NOT Connected"
 | 
				
			||||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
					    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
				
			||||||
    if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
 | 
					    if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
 | 
				
			||||||
      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
					      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
				
			||||||
    else
 | 
					    else
 | 
				
			||||||
      echo -e " 🖧  Check Network Settings"
 | 
					      echo -e " 🖧  Check Network Settings"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -69,7 +69,7 @@ trap - ERR
 | 
				
			||||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
					if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
				
			||||||
  msg_error "Internet NOT Connected"
 | 
					  msg_error "Internet NOT Connected"
 | 
				
			||||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
					    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
				
			||||||
    if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
 | 
					    if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
 | 
				
			||||||
      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
					      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
				
			||||||
    else
 | 
					    else
 | 
				
			||||||
      echo -e " 🖧  Check Network Settings"
 | 
					      echo -e " 🖧  Check Network Settings"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -69,7 +69,7 @@ trap - ERR
 | 
				
			||||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
					if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
				
			||||||
  msg_error "Internet NOT Connected"
 | 
					  msg_error "Internet NOT Connected"
 | 
				
			||||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
					    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
				
			||||||
    if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
 | 
					    if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
 | 
				
			||||||
      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
					      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
				
			||||||
    else
 | 
					    else
 | 
				
			||||||
      echo -e " 🖧  Check Network Settings"
 | 
					      echo -e " 🖧  Check Network Settings"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -69,7 +69,7 @@ trap - ERR
 | 
				
			||||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
					if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
				
			||||||
  msg_error "Internet NOT Connected"
 | 
					  msg_error "Internet NOT Connected"
 | 
				
			||||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
					    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
				
			||||||
    if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
 | 
					    if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
 | 
				
			||||||
      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
					      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
				
			||||||
    else
 | 
					    else
 | 
				
			||||||
      echo -e " 🖧  Check Network Settings"
 | 
					      echo -e " 🖧  Check Network Settings"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -69,7 +69,7 @@ trap - ERR
 | 
				
			||||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
					if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
				
			||||||
  msg_error "Internet NOT Connected"
 | 
					  msg_error "Internet NOT Connected"
 | 
				
			||||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
					    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
				
			||||||
    if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
 | 
					    if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
 | 
				
			||||||
      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
					      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
				
			||||||
    else
 | 
					    else
 | 
				
			||||||
      echo -e " 🖧  Check Network Settings"
 | 
					      echo -e " 🖧  Check Network Settings"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -69,7 +69,7 @@ trap - ERR
 | 
				
			||||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
					if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
				
			||||||
  msg_error "Internet NOT Connected"
 | 
					  msg_error "Internet NOT Connected"
 | 
				
			||||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
					    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
				
			||||||
    if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
 | 
					    if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
 | 
				
			||||||
      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
					      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
				
			||||||
    else
 | 
					    else
 | 
				
			||||||
      echo -e " 🖧  Check Network Settings"
 | 
					      echo -e " 🖧  Check Network Settings"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -68,7 +68,7 @@ trap - ERR
 | 
				
			||||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
					if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
				
			||||||
  msg_error "Internet NOT Connected"
 | 
					  msg_error "Internet NOT Connected"
 | 
				
			||||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
					    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
				
			||||||
    if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
 | 
					    if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
 | 
				
			||||||
      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
					      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
				
			||||||
    else
 | 
					    else
 | 
				
			||||||
      echo -e " 🖧  Check Network Settings"
 | 
					      echo -e " 🖧  Check Network Settings"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -68,7 +68,7 @@ trap - ERR
 | 
				
			||||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
					if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
				
			||||||
  msg_error "Internet NOT Connected"
 | 
					  msg_error "Internet NOT Connected"
 | 
				
			||||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
					    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
				
			||||||
    if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
 | 
					    if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
 | 
				
			||||||
      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
					      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
				
			||||||
    else
 | 
					    else
 | 
				
			||||||
      echo -e " 🖧  Check Network Settings"
 | 
					      echo -e " 🖧  Check Network Settings"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -68,7 +68,7 @@ trap - ERR
 | 
				
			||||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
					if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
				
			||||||
  msg_error "Internet NOT Connected"
 | 
					  msg_error "Internet NOT Connected"
 | 
				
			||||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
					    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
				
			||||||
    if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
 | 
					    if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
 | 
				
			||||||
      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
					      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
				
			||||||
    else
 | 
					    else
 | 
				
			||||||
      echo -e " 🖧  Check Network Settings"
 | 
					      echo -e " 🖧  Check Network Settings"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -69,7 +69,7 @@ trap - ERR
 | 
				
			||||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
					if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
				
			||||||
  msg_error "Internet NOT Connected"
 | 
					  msg_error "Internet NOT Connected"
 | 
				
			||||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
					    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
				
			||||||
    if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
 | 
					    if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
 | 
				
			||||||
      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
					      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
				
			||||||
    else
 | 
					    else
 | 
				
			||||||
      echo -e " 🖧  Check Network Settings"
 | 
					      echo -e " 🖧  Check Network Settings"
 | 
				
			||||||
| 
						 | 
					@ -119,7 +119,7 @@ $STD systemctl enable --now influxdb
 | 
				
			||||||
msg_ok "Installed InfluxDB"
 | 
					msg_ok "Installed InfluxDB"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
read -r -p "Would you like to add Telegraf? <y/N> " prompt
 | 
					read -r -p "Would you like to add Telegraf? <y/N> " prompt
 | 
				
			||||||
if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
 | 
					if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
 | 
				
			||||||
  TELEGRAF="Y"
 | 
					  TELEGRAF="Y"
 | 
				
			||||||
else
 | 
					else
 | 
				
			||||||
  TELEGRAF="N"
 | 
					  TELEGRAF="N"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -69,7 +69,7 @@ trap - ERR
 | 
				
			||||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
					if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
				
			||||||
  msg_error "Internet NOT Connected"
 | 
					  msg_error "Internet NOT Connected"
 | 
				
			||||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
					    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
				
			||||||
    if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
 | 
					    if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
 | 
				
			||||||
      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
					      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
				
			||||||
    else
 | 
					    else
 | 
				
			||||||
      echo -e " 🖧  Check Network Settings"
 | 
					      echo -e " 🖧  Check Network Settings"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -68,7 +68,7 @@ trap - ERR
 | 
				
			||||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
					if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
				
			||||||
  msg_error "Internet NOT Connected"
 | 
					  msg_error "Internet NOT Connected"
 | 
				
			||||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
					    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
				
			||||||
    if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
 | 
					    if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
 | 
				
			||||||
      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
					      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
				
			||||||
    else
 | 
					    else
 | 
				
			||||||
      echo -e " 🖧  Check Network Settings"
 | 
					      echo -e " 🖧  Check Network Settings"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -69,7 +69,7 @@ trap - ERR
 | 
				
			||||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
					if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
				
			||||||
  msg_error "Internet NOT Connected"
 | 
					  msg_error "Internet NOT Connected"
 | 
				
			||||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
					    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
				
			||||||
    if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
 | 
					    if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
 | 
				
			||||||
      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
					      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
				
			||||||
    else
 | 
					    else
 | 
				
			||||||
      echo -e " 🖧  Check Network Settings"
 | 
					      echo -e " 🖧  Check Network Settings"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -68,7 +68,7 @@ trap - ERR
 | 
				
			||||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
					if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
				
			||||||
  msg_error "Internet NOT Connected"
 | 
					  msg_error "Internet NOT Connected"
 | 
				
			||||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
					    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
				
			||||||
    if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
 | 
					    if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
 | 
				
			||||||
      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
					      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
				
			||||||
    else
 | 
					    else
 | 
				
			||||||
      echo -e " 🖧  Check Network Settings"
 | 
					      echo -e " 🖧  Check Network Settings"
 | 
				
			||||||
| 
						 | 
					@ -101,7 +101,7 @@ k0s config create > /etc/k0s/k0s.yaml
 | 
				
			||||||
msg_ok "Installed k0s Kubernetes"
 | 
					msg_ok "Installed k0s Kubernetes"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
read -r -p "Would you like to add Helm Package Manager? <y/N> " prompt
 | 
					read -r -p "Would you like to add Helm Package Manager? <y/N> " prompt
 | 
				
			||||||
if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
 | 
					if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
 | 
				
			||||||
  HELM="Y"
 | 
					  HELM="Y"
 | 
				
			||||||
else
 | 
					else
 | 
				
			||||||
  HELM="N"
 | 
					  HELM="N"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -69,7 +69,7 @@ trap - ERR
 | 
				
			||||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
					if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
				
			||||||
  msg_error "Internet NOT Connected"
 | 
					  msg_error "Internet NOT Connected"
 | 
				
			||||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
					    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
				
			||||||
    if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
 | 
					    if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
 | 
				
			||||||
      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
					      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
				
			||||||
    else
 | 
					    else
 | 
				
			||||||
      echo -e " 🖧  Check Network Settings"
 | 
					      echo -e " 🖧  Check Network Settings"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -69,7 +69,7 @@ trap - ERR
 | 
				
			||||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
					if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
				
			||||||
  msg_error "Internet NOT Connected"
 | 
					  msg_error "Internet NOT Connected"
 | 
				
			||||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
					    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
				
			||||||
    if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
 | 
					    if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
 | 
				
			||||||
      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
					      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
				
			||||||
    else
 | 
					    else
 | 
				
			||||||
      echo -e " 🖧  Check Network Settings"
 | 
					      echo -e " 🖧  Check Network Settings"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -68,7 +68,7 @@ trap - ERR
 | 
				
			||||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
					if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
				
			||||||
  msg_error "Internet NOT Connected"
 | 
					  msg_error "Internet NOT Connected"
 | 
				
			||||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
					    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
				
			||||||
    if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
 | 
					    if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
 | 
				
			||||||
      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
					      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
				
			||||||
    else
 | 
					    else
 | 
				
			||||||
      echo -e " 🖧  Check Network Settings"
 | 
					      echo -e " 🖧  Check Network Settings"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -69,7 +69,7 @@ trap - ERR
 | 
				
			||||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
					if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
				
			||||||
  msg_error "Internet NOT Connected"
 | 
					  msg_error "Internet NOT Connected"
 | 
				
			||||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
					    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
				
			||||||
    if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
 | 
					    if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
 | 
				
			||||||
      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
					      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
				
			||||||
    else
 | 
					    else
 | 
				
			||||||
      echo -e " 🖧  Check Network Settings"
 | 
					      echo -e " 🖧  Check Network Settings"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -69,7 +69,7 @@ trap - ERR
 | 
				
			||||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
					if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
				
			||||||
  msg_error "Internet NOT Connected"
 | 
					  msg_error "Internet NOT Connected"
 | 
				
			||||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
					    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
				
			||||||
    if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
 | 
					    if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
 | 
				
			||||||
      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
					      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
				
			||||||
    else
 | 
					    else
 | 
				
			||||||
      echo -e " 🖧  Check Network Settings"
 | 
					      echo -e " 🖧  Check Network Settings"
 | 
				
			||||||
| 
						 | 
					@ -99,7 +99,7 @@ $STD apt-get install -y mariadb-server
 | 
				
			||||||
msg_ok "Installed MariaDB"
 | 
					msg_ok "Installed MariaDB"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
read -r -p "Would you like to add Adminer? <y/N> " prompt
 | 
					read -r -p "Would you like to add Adminer? <y/N> " prompt
 | 
				
			||||||
if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
 | 
					if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
 | 
				
			||||||
  ADMINER="Y"
 | 
					  ADMINER="Y"
 | 
				
			||||||
else
 | 
					else
 | 
				
			||||||
  ADMINER="N"
 | 
					  ADMINER="N"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -69,7 +69,7 @@ trap - ERR
 | 
				
			||||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
					if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
				
			||||||
  msg_error "Internet NOT Connected"
 | 
					  msg_error "Internet NOT Connected"
 | 
				
			||||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
					    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
				
			||||||
    if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
 | 
					    if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
 | 
				
			||||||
      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
					      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
				
			||||||
    else
 | 
					    else
 | 
				
			||||||
      echo -e " 🖧  Check Network Settings"
 | 
					      echo -e " 🖧  Check Network Settings"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -69,7 +69,7 @@ trap - ERR
 | 
				
			||||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
					if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
				
			||||||
  msg_error "Internet NOT Connected"
 | 
					  msg_error "Internet NOT Connected"
 | 
				
			||||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
					    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
				
			||||||
    if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
 | 
					    if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
 | 
				
			||||||
      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
					      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
				
			||||||
    else
 | 
					    else
 | 
				
			||||||
      echo -e " 🖧  Check Network Settings"
 | 
					      echo -e " 🖧  Check Network Settings"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -69,7 +69,7 @@ trap - ERR
 | 
				
			||||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
					if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
				
			||||||
  msg_error "Internet NOT Connected"
 | 
					  msg_error "Internet NOT Connected"
 | 
				
			||||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
					    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
				
			||||||
    if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
 | 
					    if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
 | 
				
			||||||
      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
					      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
				
			||||||
    else
 | 
					    else
 | 
				
			||||||
      echo -e " 🖧  Check Network Settings"
 | 
					      echo -e " 🖧  Check Network Settings"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -69,7 +69,7 @@ trap - ERR
 | 
				
			||||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
					if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
				
			||||||
  msg_error "Internet NOT Connected"
 | 
					  msg_error "Internet NOT Connected"
 | 
				
			||||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
					    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
				
			||||||
    if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
 | 
					    if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
 | 
				
			||||||
      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
					      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
				
			||||||
    else
 | 
					    else
 | 
				
			||||||
      echo -e " 🖧  Check Network Settings"
 | 
					      echo -e " 🖧  Check Network Settings"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -68,7 +68,7 @@ trap - ERR
 | 
				
			||||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
					if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
				
			||||||
  msg_error "Internet NOT Connected"
 | 
					  msg_error "Internet NOT Connected"
 | 
				
			||||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
					    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
				
			||||||
    if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
 | 
					    if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
 | 
				
			||||||
      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
					      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
				
			||||||
    else
 | 
					    else
 | 
				
			||||||
      echo -e " 🖧  Check Network Settings"
 | 
					      echo -e " 🖧  Check Network Settings"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -68,7 +68,7 @@ trap - ERR
 | 
				
			||||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
					if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
				
			||||||
  msg_error "Internet NOT Connected"
 | 
					  msg_error "Internet NOT Connected"
 | 
				
			||||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
					    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
				
			||||||
    if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
 | 
					    if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
 | 
				
			||||||
      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
					      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
				
			||||||
    else
 | 
					    else
 | 
				
			||||||
      echo -e " 🖧  Check Network Settings"
 | 
					      echo -e " 🖧  Check Network Settings"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -69,7 +69,7 @@ trap - ERR
 | 
				
			||||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
					if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
				
			||||||
  msg_error "Internet NOT Connected"
 | 
					  msg_error "Internet NOT Connected"
 | 
				
			||||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
					    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
				
			||||||
    if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
 | 
					    if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
 | 
				
			||||||
      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
					      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
				
			||||||
    else
 | 
					    else
 | 
				
			||||||
      echo -e " 🖧  Check Network Settings"
 | 
					      echo -e " 🖧  Check Network Settings"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -69,7 +69,7 @@ trap - ERR
 | 
				
			||||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
					if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
				
			||||||
  msg_error "Internet NOT Connected"
 | 
					  msg_error "Internet NOT Connected"
 | 
				
			||||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
					    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
				
			||||||
    if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
 | 
					    if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
 | 
				
			||||||
      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
					      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
				
			||||||
    else
 | 
					    else
 | 
				
			||||||
      echo -e " 🖧  Check Network Settings"
 | 
					      echo -e " 🖧  Check Network Settings"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -69,7 +69,7 @@ trap - ERR
 | 
				
			||||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
					if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
				
			||||||
  msg_error "Internet NOT Connected"
 | 
					  msg_error "Internet NOT Connected"
 | 
				
			||||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
					    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
				
			||||||
    if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
 | 
					    if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
 | 
				
			||||||
      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
					      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
				
			||||||
    else
 | 
					    else
 | 
				
			||||||
      echo -e " 🖧  Check Network Settings"
 | 
					      echo -e " 🖧  Check Network Settings"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -69,7 +69,7 @@ trap - ERR
 | 
				
			||||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
					if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
				
			||||||
  msg_error "Internet NOT Connected"
 | 
					  msg_error "Internet NOT Connected"
 | 
				
			||||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
					    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
				
			||||||
    if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
 | 
					    if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
 | 
				
			||||||
      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
					      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
				
			||||||
    else
 | 
					    else
 | 
				
			||||||
      echo -e " 🖧  Check Network Settings"
 | 
					      echo -e " 🖧  Check Network Settings"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -69,7 +69,7 @@ trap - ERR
 | 
				
			||||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
					if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
				
			||||||
  msg_error "Internet NOT Connected"
 | 
					  msg_error "Internet NOT Connected"
 | 
				
			||||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
					    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
				
			||||||
    if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
 | 
					    if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
 | 
				
			||||||
      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
					      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
				
			||||||
    else
 | 
					    else
 | 
				
			||||||
      echo -e " 🖧  Check Network Settings"
 | 
					      echo -e " 🖧  Check Network Settings"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -69,7 +69,7 @@ trap - ERR
 | 
				
			||||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
					if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
				
			||||||
  msg_error "Internet NOT Connected"
 | 
					  msg_error "Internet NOT Connected"
 | 
				
			||||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
					    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
				
			||||||
    if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
 | 
					    if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
 | 
				
			||||||
      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
					      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
				
			||||||
    else
 | 
					    else
 | 
				
			||||||
      echo -e " 🖧  Check Network Settings"
 | 
					      echo -e " 🖧  Check Network Settings"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -69,7 +69,7 @@ trap - ERR
 | 
				
			||||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
					if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
				
			||||||
  msg_error "Internet NOT Connected"
 | 
					  msg_error "Internet NOT Connected"
 | 
				
			||||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
					    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
				
			||||||
    if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
 | 
					    if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
 | 
				
			||||||
      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
					      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
				
			||||||
    else
 | 
					    else
 | 
				
			||||||
      echo -e " 🖧  Check Network Settings"
 | 
					      echo -e " 🖧  Check Network Settings"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -69,7 +69,7 @@ trap - ERR
 | 
				
			||||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
					if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
				
			||||||
  msg_error "Internet NOT Connected"
 | 
					  msg_error "Internet NOT Connected"
 | 
				
			||||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
					    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
				
			||||||
    if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
 | 
					    if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
 | 
				
			||||||
      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
					      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
				
			||||||
    else
 | 
					    else
 | 
				
			||||||
      echo -e " 🖧  Check Network Settings"
 | 
					      echo -e " 🖧  Check Network Settings"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -70,7 +70,7 @@ trap - ERR
 | 
				
			||||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
					if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
				
			||||||
  msg_error "Internet NOT Connected"
 | 
					  msg_error "Internet NOT Connected"
 | 
				
			||||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
					    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
				
			||||||
    if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
 | 
					    if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
 | 
				
			||||||
      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
					      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
				
			||||||
    else
 | 
					    else
 | 
				
			||||||
      echo -e " 🖧  Check Network Settings"
 | 
					      echo -e " 🖧  Check Network Settings"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -69,7 +69,7 @@ trap - ERR
 | 
				
			||||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
					if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
				
			||||||
  msg_error "Internet NOT Connected"
 | 
					  msg_error "Internet NOT Connected"
 | 
				
			||||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
					    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
				
			||||||
    if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
 | 
					    if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
 | 
				
			||||||
      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
					      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
				
			||||||
    else
 | 
					    else
 | 
				
			||||||
      echo -e " 🖧  Check Network Settings"
 | 
					      echo -e " 🖧  Check Network Settings"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -69,7 +69,7 @@ trap - ERR
 | 
				
			||||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
					if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
				
			||||||
  msg_error "Internet NOT Connected"
 | 
					  msg_error "Internet NOT Connected"
 | 
				
			||||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
					    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
				
			||||||
    if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
 | 
					    if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
 | 
				
			||||||
      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
					      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
				
			||||||
    else
 | 
					    else
 | 
				
			||||||
      echo -e " 🖧  Check Network Settings"
 | 
					      echo -e " 🖧  Check Network Settings"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -68,7 +68,7 @@ trap - ERR
 | 
				
			||||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
					if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
				
			||||||
  msg_error "Internet NOT Connected"
 | 
					  msg_error "Internet NOT Connected"
 | 
				
			||||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
					    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
				
			||||||
    if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
 | 
					    if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
 | 
				
			||||||
      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
					      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
				
			||||||
    else
 | 
					    else
 | 
				
			||||||
      echo -e " 🖧  Check Network Settings"
 | 
					      echo -e " 🖧  Check Network Settings"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -69,7 +69,7 @@ trap - ERR
 | 
				
			||||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
					if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
				
			||||||
  msg_error "Internet NOT Connected"
 | 
					  msg_error "Internet NOT Connected"
 | 
				
			||||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
					    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
				
			||||||
    if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
 | 
					    if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
 | 
				
			||||||
      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
					      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
				
			||||||
    else
 | 
					    else
 | 
				
			||||||
      echo -e " 🖧  Check Network Settings"
 | 
					      echo -e " 🖧  Check Network Settings"
 | 
				
			||||||
| 
						 | 
					@ -206,7 +206,7 @@ sudo systemctl restart postgresql
 | 
				
			||||||
msg_ok "Installed PostgreSQL"
 | 
					msg_ok "Installed PostgreSQL"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
read -r -p "Would you like to add Adminer? <y/N> " prompt
 | 
					read -r -p "Would you like to add Adminer? <y/N> " prompt
 | 
				
			||||||
if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
 | 
					if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
 | 
				
			||||||
  ADMINER="Y"
 | 
					  ADMINER="Y"
 | 
				
			||||||
else
 | 
					else
 | 
				
			||||||
  ADMINER="N"
 | 
					  ADMINER="N"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -69,7 +69,7 @@ trap - ERR
 | 
				
			||||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
					if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
				
			||||||
  msg_error "Internet NOT Connected"
 | 
					  msg_error "Internet NOT Connected"
 | 
				
			||||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
					    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
				
			||||||
    if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
 | 
					    if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
 | 
				
			||||||
      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
					      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
				
			||||||
    else
 | 
					    else
 | 
				
			||||||
      echo -e " 🖧  Check Network Settings"
 | 
					      echo -e " 🖧  Check Network Settings"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -68,7 +68,7 @@ trap - ERR
 | 
				
			||||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
					if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
				
			||||||
  msg_error "Internet NOT Connected"
 | 
					  msg_error "Internet NOT Connected"
 | 
				
			||||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
					    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
				
			||||||
    if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
 | 
					    if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
 | 
				
			||||||
      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
					      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
				
			||||||
    else
 | 
					    else
 | 
				
			||||||
      echo -e " 🖧  Check Network Settings"
 | 
					      echo -e " 🖧  Check Network Settings"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -68,7 +68,7 @@ trap - ERR
 | 
				
			||||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
					if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
				
			||||||
  msg_error "Internet NOT Connected"
 | 
					  msg_error "Internet NOT Connected"
 | 
				
			||||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
					    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
				
			||||||
    if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
 | 
					    if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
 | 
				
			||||||
      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
					      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
				
			||||||
    else
 | 
					    else
 | 
				
			||||||
      echo -e " 🖧  Check Network Settings"
 | 
					      echo -e " 🖧  Check Network Settings"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -68,7 +68,7 @@ trap - ERR
 | 
				
			||||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
					if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
				
			||||||
  msg_error "Internet NOT Connected"
 | 
					  msg_error "Internet NOT Connected"
 | 
				
			||||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
					    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
				
			||||||
    if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
 | 
					    if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
 | 
				
			||||||
      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
					      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
				
			||||||
    else
 | 
					    else
 | 
				
			||||||
      echo -e " 🖧  Check Network Settings"
 | 
					      echo -e " 🖧  Check Network Settings"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -68,7 +68,7 @@ trap - ERR
 | 
				
			||||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
					if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
				
			||||||
  msg_error "Internet NOT Connected"
 | 
					  msg_error "Internet NOT Connected"
 | 
				
			||||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
					    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
				
			||||||
    if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
 | 
					    if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
 | 
				
			||||||
      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
					      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
				
			||||||
    else
 | 
					    else
 | 
				
			||||||
      echo -e " 🖧  Check Network Settings"
 | 
					      echo -e " 🖧  Check Network Settings"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -68,7 +68,7 @@ trap - ERR
 | 
				
			||||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
					if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
				
			||||||
  msg_error "Internet NOT Connected"
 | 
					  msg_error "Internet NOT Connected"
 | 
				
			||||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
					    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
				
			||||||
    if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
 | 
					    if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
 | 
				
			||||||
      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
					      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
				
			||||||
    else
 | 
					    else
 | 
				
			||||||
      echo -e " 🖧  Check Network Settings"
 | 
					      echo -e " 🖧  Check Network Settings"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -68,7 +68,7 @@ trap - ERR
 | 
				
			||||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
					if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
				
			||||||
  msg_error "Internet NOT Connected"
 | 
					  msg_error "Internet NOT Connected"
 | 
				
			||||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
					    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
				
			||||||
    if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
 | 
					    if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
 | 
				
			||||||
      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
					      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
				
			||||||
    else
 | 
					    else
 | 
				
			||||||
      echo -e " 🖧  Check Network Settings"
 | 
					      echo -e " 🖧  Check Network Settings"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -68,7 +68,7 @@ trap - ERR
 | 
				
			||||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
					if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
				
			||||||
  msg_error "Internet NOT Connected"
 | 
					  msg_error "Internet NOT Connected"
 | 
				
			||||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
					    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
				
			||||||
    if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
 | 
					    if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
 | 
				
			||||||
      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
					      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
				
			||||||
    else
 | 
					    else
 | 
				
			||||||
      echo -e " 🖧  Check Network Settings"
 | 
					      echo -e " 🖧  Check Network Settings"
 | 
				
			||||||
| 
						 | 
					@ -148,7 +148,7 @@ $STD python3 -m pip install aiofiles debugpy typing_extensions typing
 | 
				
			||||||
msg_ok "Installed Python3"
 | 
					msg_ok "Installed Python3"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
read -r -p "Would you like to add Coral Edge TPU support? <y/N> " prompt
 | 
					read -r -p "Would you like to add Coral Edge TPU support? <y/N> " prompt
 | 
				
			||||||
if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
 | 
					if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
 | 
				
			||||||
  CORAL="Y"
 | 
					  CORAL="Y"
 | 
				
			||||||
else
 | 
					else
 | 
				
			||||||
  CORAL="N"
 | 
					  CORAL="N"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -69,7 +69,7 @@ trap - ERR
 | 
				
			||||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
					if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
				
			||||||
  msg_error "Internet NOT Connected"
 | 
					  msg_error "Internet NOT Connected"
 | 
				
			||||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
					    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
				
			||||||
    if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
 | 
					    if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
 | 
				
			||||||
      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
					      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
				
			||||||
    else
 | 
					    else
 | 
				
			||||||
      echo -e " 🖧  Check Network Settings"
 | 
					      echo -e " 🖧  Check Network Settings"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -69,7 +69,7 @@ trap - ERR
 | 
				
			||||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
					if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
				
			||||||
  msg_error "Internet NOT Connected"
 | 
					  msg_error "Internet NOT Connected"
 | 
				
			||||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
					    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
				
			||||||
    if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
 | 
					    if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
 | 
				
			||||||
      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
					      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
				
			||||||
    else
 | 
					    else
 | 
				
			||||||
      echo -e " 🖧  Check Network Settings"
 | 
					      echo -e " 🖧  Check Network Settings"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -68,7 +68,7 @@ trap - ERR
 | 
				
			||||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
					if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
				
			||||||
  msg_error "Internet NOT Connected"
 | 
					  msg_error "Internet NOT Connected"
 | 
				
			||||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
					    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
				
			||||||
    if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
 | 
					    if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
 | 
				
			||||||
      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
					      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
				
			||||||
    else
 | 
					    else
 | 
				
			||||||
      echo -e " 🖧  Check Network Settings"
 | 
					      echo -e " 🖧  Check Network Settings"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -68,7 +68,7 @@ trap - ERR
 | 
				
			||||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
					if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
				
			||||||
  msg_error "Internet NOT Connected"
 | 
					  msg_error "Internet NOT Connected"
 | 
				
			||||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
					    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
				
			||||||
    if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
 | 
					    if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
 | 
				
			||||||
      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
					      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
				
			||||||
    else
 | 
					    else
 | 
				
			||||||
      echo -e " 🖧  Check Network Settings"
 | 
					      echo -e " 🖧  Check Network Settings"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -69,7 +69,7 @@ trap - ERR
 | 
				
			||||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
					if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
				
			||||||
  msg_error "Internet NOT Connected"
 | 
					  msg_error "Internet NOT Connected"
 | 
				
			||||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
					    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
				
			||||||
    if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
 | 
					    if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
 | 
				
			||||||
      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
					      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
				
			||||||
    else
 | 
					    else
 | 
				
			||||||
      echo -e " 🖧  Check Network Settings"
 | 
					      echo -e " 🖧  Check Network Settings"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -68,7 +68,7 @@ trap - ERR
 | 
				
			||||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
					if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
				
			||||||
  msg_error "Internet NOT Connected"
 | 
					  msg_error "Internet NOT Connected"
 | 
				
			||||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
					    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
				
			||||||
    if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
 | 
					    if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
 | 
				
			||||||
      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
					      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
				
			||||||
    else
 | 
					    else
 | 
				
			||||||
      echo -e " 🖧  Check Network Settings"
 | 
					      echo -e " 🖧  Check Network Settings"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -68,7 +68,7 @@ trap - ERR
 | 
				
			||||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
					if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
				
			||||||
  msg_error "Internet NOT Connected"
 | 
					  msg_error "Internet NOT Connected"
 | 
				
			||||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
					    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
				
			||||||
    if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
 | 
					    if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
 | 
				
			||||||
      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
					      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
				
			||||||
    else
 | 
					    else
 | 
				
			||||||
      echo -e " 🖧  Check Network Settings"
 | 
					      echo -e " 🖧  Check Network Settings"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -69,7 +69,7 @@ trap - ERR
 | 
				
			||||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
					if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
				
			||||||
  msg_error "Internet NOT Connected"
 | 
					  msg_error "Internet NOT Connected"
 | 
				
			||||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
					    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
				
			||||||
    if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
 | 
					    if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
 | 
				
			||||||
      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
					      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
				
			||||||
    else
 | 
					    else
 | 
				
			||||||
      echo -e " 🖧  Check Network Settings"
 | 
					      echo -e " 🖧  Check Network Settings"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -69,7 +69,7 @@ trap - ERR
 | 
				
			||||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
					if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
				
			||||||
  msg_error "Internet NOT Connected"
 | 
					  msg_error "Internet NOT Connected"
 | 
				
			||||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
					    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
				
			||||||
    if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
 | 
					    if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
 | 
				
			||||||
      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
					      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
				
			||||||
    else
 | 
					    else
 | 
				
			||||||
      echo -e " 🖧  Check Network Settings"
 | 
					      echo -e " 🖧  Check Network Settings"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -70,7 +70,7 @@ trap - ERR
 | 
				
			||||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
					if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
				
			||||||
  msg_error "Internet NOT Connected"
 | 
					  msg_error "Internet NOT Connected"
 | 
				
			||||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
					    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
				
			||||||
    if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
 | 
					    if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
 | 
				
			||||||
      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
					      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
				
			||||||
    else
 | 
					    else
 | 
				
			||||||
      echo -e " 🖧  Check Network Settings"
 | 
					      echo -e " 🖧  Check Network Settings"
 | 
				
			||||||
| 
						 | 
					@ -94,7 +94,7 @@ $STD apt-get install -y mc
 | 
				
			||||||
msg_ok "Installed Dependencies"
 | 
					msg_ok "Installed Dependencies"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
read -r -p "Local Controller? <y/N> " prompt
 | 
					read -r -p "Local Controller? <y/N> " prompt
 | 
				
			||||||
if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
 | 
					if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
 | 
				
			||||||
  LOCAL="--local-controller"
 | 
					  LOCAL="--local-controller"
 | 
				
			||||||
else
 | 
					else
 | 
				
			||||||
  LOCAL=""
 | 
					  LOCAL=""
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -69,7 +69,7 @@ trap - ERR
 | 
				
			||||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
					if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
				
			||||||
  msg_error "Internet NOT Connected"
 | 
					  msg_error "Internet NOT Connected"
 | 
				
			||||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
					    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
				
			||||||
    if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
 | 
					    if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
 | 
				
			||||||
      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
					      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
				
			||||||
    else
 | 
					    else
 | 
				
			||||||
      echo -e " 🖧  Check Network Settings"
 | 
					      echo -e " 🖧  Check Network Settings"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -69,7 +69,7 @@ trap - ERR
 | 
				
			||||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
					if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
				
			||||||
  msg_error "Internet NOT Connected"
 | 
					  msg_error "Internet NOT Connected"
 | 
				
			||||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
					    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
				
			||||||
    if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
 | 
					    if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
 | 
				
			||||||
      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
					      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
				
			||||||
    else
 | 
					    else
 | 
				
			||||||
      echo -e " 🖧  Check Network Settings"
 | 
					      echo -e " 🖧  Check Network Settings"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -68,7 +68,7 @@ trap - ERR
 | 
				
			||||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
					if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
				
			||||||
  msg_error "Internet NOT Connected"
 | 
					  msg_error "Internet NOT Connected"
 | 
				
			||||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
					    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
				
			||||||
    if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
 | 
					    if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
 | 
				
			||||||
      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
					      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
				
			||||||
    else
 | 
					    else
 | 
				
			||||||
      echo -e " 🖧  Check Network Settings"
 | 
					      echo -e " 🖧  Check Network Settings"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -69,7 +69,7 @@ trap - ERR
 | 
				
			||||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
					if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
				
			||||||
  msg_error "Internet NOT Connected"
 | 
					  msg_error "Internet NOT Connected"
 | 
				
			||||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
					    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
				
			||||||
    if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
 | 
					    if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
 | 
				
			||||||
      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
					      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
				
			||||||
    else
 | 
					    else
 | 
				
			||||||
      echo -e " 🖧  Check Network Settings"
 | 
					      echo -e " 🖧  Check Network Settings"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -69,7 +69,7 @@ trap - ERR
 | 
				
			||||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
					if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
				
			||||||
  msg_error "Internet NOT Connected"
 | 
					  msg_error "Internet NOT Connected"
 | 
				
			||||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
					    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
				
			||||||
    if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
 | 
					    if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
 | 
				
			||||||
      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
					      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
				
			||||||
    else
 | 
					    else
 | 
				
			||||||
      echo -e " 🖧  Check Network Settings"
 | 
					      echo -e " 🖧  Check Network Settings"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -69,7 +69,7 @@ trap - ERR
 | 
				
			||||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
					if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
				
			||||||
  msg_error "Internet NOT Connected"
 | 
					  msg_error "Internet NOT Connected"
 | 
				
			||||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
					    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
				
			||||||
    if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
 | 
					    if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
 | 
				
			||||||
      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
					      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
				
			||||||
    else
 | 
					    else
 | 
				
			||||||
      echo -e " 🖧  Check Network Settings"
 | 
					      echo -e " 🖧  Check Network Settings"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -68,7 +68,7 @@ trap - ERR
 | 
				
			||||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
					if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
				
			||||||
  msg_error "Internet NOT Connected"
 | 
					  msg_error "Internet NOT Connected"
 | 
				
			||||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
					    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
				
			||||||
    if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
 | 
					    if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
 | 
				
			||||||
      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
					      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
				
			||||||
    else
 | 
					    else
 | 
				
			||||||
      echo -e " 🖧  Check Network Settings"
 | 
					      echo -e " 🖧  Check Network Settings"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -69,7 +69,7 @@ trap - ERR
 | 
				
			||||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
					if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
				
			||||||
  msg_error "Internet NOT Connected"
 | 
					  msg_error "Internet NOT Connected"
 | 
				
			||||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
					    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
				
			||||||
    if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
 | 
					    if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
 | 
				
			||||||
      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
					      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
				
			||||||
    else
 | 
					    else
 | 
				
			||||||
      echo -e " 🖧  Check Network Settings"
 | 
					      echo -e " 🖧  Check Network Settings"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -69,7 +69,7 @@ trap - ERR
 | 
				
			||||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
					if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
				
			||||||
  msg_error "Internet NOT Connected"
 | 
					  msg_error "Internet NOT Connected"
 | 
				
			||||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
					    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
				
			||||||
    if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
 | 
					    if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
 | 
				
			||||||
      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
					      echo -e " ⚠️  ${RD}Expect Issues Without Internet${CL}"
 | 
				
			||||||
    else
 | 
					    else
 | 
				
			||||||
      echo -e " 🖧  Check Network Settings"
 | 
					      echo -e " 🖧  Check Network Settings"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -41,7 +41,7 @@ clear
 | 
				
			||||||
 | 
					
 | 
				
			||||||
EOF
 | 
					EOF
 | 
				
			||||||
read -r -p "Switch from dbus-daemon to dbus-broker? <y/N> " prompt
 | 
					read -r -p "Switch from dbus-daemon to dbus-broker? <y/N> " prompt
 | 
				
			||||||
if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
 | 
					if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
 | 
				
			||||||
cat <<EOF >>/etc/apt/sources.list
 | 
					cat <<EOF >>/etc/apt/sources.list
 | 
				
			||||||
deb http://deb.debian.org/debian bullseye-backports main contrib non-free
 | 
					deb http://deb.debian.org/debian bullseye-backports main contrib non-free
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -52,7 +52,7 @@ apt-get -t bullseye-backports install -y dbus-broker &>/dev/null
 | 
				
			||||||
systemctl enable dbus-broker.service &>/dev/null
 | 
					systemctl enable dbus-broker.service &>/dev/null
 | 
				
			||||||
fi
 | 
					fi
 | 
				
			||||||
read -r -p "Install BlueZ? <y/N> " prompt
 | 
					read -r -p "Install BlueZ? <y/N> " prompt
 | 
				
			||||||
if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
 | 
					if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
 | 
				
			||||||
apt-get -t bullseye-backports install -y bluez* &>/dev/null
 | 
					apt-get -t bullseye-backports install -y bluez* &>/dev/null
 | 
				
			||||||
fi
 | 
					fi
 | 
				
			||||||
echo -e "Finished, reboot for changes to take affect"
 | 
					echo -e "Finished, reboot for changes to take affect"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -58,7 +58,7 @@ function msg_ok() {
 | 
				
			||||||
clear
 | 
					clear
 | 
				
			||||||
header_info
 | 
					header_info
 | 
				
			||||||
read -r -p "Disable Enterprise Repository? <y/N> " prompt
 | 
					read -r -p "Disable Enterprise Repository? <y/N> " prompt
 | 
				
			||||||
if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
 | 
					if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
 | 
				
			||||||
    msg_info "Disabling Enterprise Repository"
 | 
					    msg_info "Disabling Enterprise Repository"
 | 
				
			||||||
    sleep 2
 | 
					    sleep 2
 | 
				
			||||||
    sed -i "s/^deb/#deb/g" /etc/apt/sources.list.d/pbs-enterprise.list
 | 
					    sed -i "s/^deb/#deb/g" /etc/apt/sources.list.d/pbs-enterprise.list
 | 
				
			||||||
| 
						 | 
					@ -66,7 +66,7 @@ if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]
 | 
				
			||||||
fi
 | 
					fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
read -r -p "Add/Correct PBS Sources (sources.list)? <y/N> " prompt
 | 
					read -r -p "Add/Correct PBS Sources (sources.list)? <y/N> " prompt
 | 
				
			||||||
if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
 | 
					if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
 | 
				
			||||||
    msg_info "Adding or Correcting PBS Sources"
 | 
					    msg_info "Adding or Correcting PBS Sources"
 | 
				
			||||||
    cat <<EOF >/etc/apt/sources.list
 | 
					    cat <<EOF >/etc/apt/sources.list
 | 
				
			||||||
deb http://ftp.debian.org/debian bullseye main contrib
 | 
					deb http://ftp.debian.org/debian bullseye main contrib
 | 
				
			||||||
| 
						 | 
					@ -78,7 +78,7 @@ EOF
 | 
				
			||||||
fi
 | 
					fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
read -r -p "Enable No-Subscription Repository? <y/N> " prompt
 | 
					read -r -p "Enable No-Subscription Repository? <y/N> " prompt
 | 
				
			||||||
if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
 | 
					if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
 | 
				
			||||||
    msg_info "Enabling No-Subscription Repository"
 | 
					    msg_info "Enabling No-Subscription Repository"
 | 
				
			||||||
    cat <<EOF >>/etc/apt/sources.list
 | 
					    cat <<EOF >>/etc/apt/sources.list
 | 
				
			||||||
deb http://download.proxmox.com/debian/pbs bullseye pbs-no-subscription
 | 
					deb http://download.proxmox.com/debian/pbs bullseye pbs-no-subscription
 | 
				
			||||||
| 
						 | 
					@ -88,7 +88,7 @@ EOF
 | 
				
			||||||
fi
 | 
					fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
read -r -p "Add (Disabled) Beta/Test Repository? <y/N> " prompt
 | 
					read -r -p "Add (Disabled) Beta/Test Repository? <y/N> " prompt
 | 
				
			||||||
if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
 | 
					if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
 | 
				
			||||||
    msg_info "Adding Beta/Test Repository and set disabled"
 | 
					    msg_info "Adding Beta/Test Repository and set disabled"
 | 
				
			||||||
    cat <<EOF >>/etc/apt/sources.list
 | 
					    cat <<EOF >>/etc/apt/sources.list
 | 
				
			||||||
# deb http://download.proxmox.com/debian/pbs bullseye pbstest
 | 
					# deb http://download.proxmox.com/debian/pbs bullseye pbstest
 | 
				
			||||||
| 
						 | 
					@ -98,7 +98,7 @@ EOF
 | 
				
			||||||
fi
 | 
					fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
read -r -p "Disable Subscription Nag? <y/N> " prompt
 | 
					read -r -p "Disable Subscription Nag? <y/N> " prompt
 | 
				
			||||||
if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
 | 
					if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
 | 
				
			||||||
    msg_info "Disabling Subscription Nag"
 | 
					    msg_info "Disabling Subscription Nag"
 | 
				
			||||||
    echo "DPkg::Post-Invoke { \"dpkg -V proxmox-widget-toolkit | grep -q '/proxmoxlib\.js$'; if [ \$? -eq 1 ]; then { echo 'Removing subscription nag from UI...'; sed -i '/data.status/{s/\!//;s/active/NoMoreNagging/}' /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js; }; fi\"; };" >/etc/apt/apt.conf.d/no-nag-script
 | 
					    echo "DPkg::Post-Invoke { \"dpkg -V proxmox-widget-toolkit | grep -q '/proxmoxlib\.js$'; if [ \$? -eq 1 ]; then { echo 'Removing subscription nag from UI...'; sed -i '/data.status/{s/\!//;s/active/NoMoreNagging/}' /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js; }; fi\"; };" >/etc/apt/apt.conf.d/no-nag-script
 | 
				
			||||||
    apt --reinstall install proxmox-widget-toolkit &>/dev/null
 | 
					    apt --reinstall install proxmox-widget-toolkit &>/dev/null
 | 
				
			||||||
| 
						 | 
					@ -106,7 +106,7 @@ if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]
 | 
				
			||||||
fi
 | 
					fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
read -r -p "Update Proxmox Backup Server now? <y/N> " prompt
 | 
					read -r -p "Update Proxmox Backup Server now? <y/N> " prompt
 | 
				
			||||||
if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
 | 
					if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
 | 
				
			||||||
    msg_info "Updating Proxmox Backup Server (Patience)"
 | 
					    msg_info "Updating Proxmox Backup Server (Patience)"
 | 
				
			||||||
    apt-get update &>/dev/null
 | 
					    apt-get update &>/dev/null
 | 
				
			||||||
    apt-get -y dist-upgrade &>/dev/null
 | 
					    apt-get -y dist-upgrade &>/dev/null
 | 
				
			||||||
| 
						 | 
					@ -114,7 +114,7 @@ if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]
 | 
				
			||||||
fi
 | 
					fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
read -r -p "Reboot Proxmox Backup Server now? <y/N> " prompt
 | 
					read -r -p "Reboot Proxmox Backup Server now? <y/N> " prompt
 | 
				
			||||||
if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
 | 
					if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
 | 
				
			||||||
    msg_info "Rebooting Proxmox Backup Server"
 | 
					    msg_info "Rebooting Proxmox Backup Server"
 | 
				
			||||||
    sleep 2
 | 
					    sleep 2
 | 
				
			||||||
    msg_ok "Completed Post Install Routines"
 | 
					    msg_ok "Completed Post Install Routines"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -69,7 +69,7 @@ pyenv install 3.10.8 &>/dev/null
 | 
				
			||||||
pyenv global 3.10.8
 | 
					pyenv global 3.10.8
 | 
				
			||||||
msg_ok "Installed Python 3.10.8"
 | 
					msg_ok "Installed Python 3.10.8"
 | 
				
			||||||
read -r -p "Would you like to install Home Assistant Beta? <y/N> " prompt
 | 
					read -r -p "Would you like to install Home Assistant Beta? <y/N> " prompt
 | 
				
			||||||
if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
 | 
					if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
 | 
				
			||||||
  HA="Y"
 | 
					  HA="Y"
 | 
				
			||||||
fi
 | 
					fi
 | 
				
			||||||
if [[ $HA == "Y" ]]; then
 | 
					if [[ $HA == "Y" ]]; then
 | 
				
			||||||
| 
						 | 
					@ -101,7 +101,7 @@ hass
 | 
				
			||||||
fi
 | 
					fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
read -r -p "Would you like to install ESPHome Beta? <y/N> " prompt
 | 
					read -r -p "Would you like to install ESPHome Beta? <y/N> " prompt
 | 
				
			||||||
if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
 | 
					if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
 | 
				
			||||||
  ESP="Y"
 | 
					  ESP="Y"
 | 
				
			||||||
fi
 | 
					fi
 | 
				
			||||||
if [[ $ESP == "Y" ]]; then
 | 
					if [[ $ESP == "Y" ]]; then
 | 
				
			||||||
| 
						 | 
					@ -146,7 +146,7 @@ exec $SHELL
 | 
				
			||||||
fi
 | 
					fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
read -r -p "Would you like to install Matter-Server (Beta)? <y/N> " prompt
 | 
					read -r -p "Would you like to install Matter-Server (Beta)? <y/N> " prompt
 | 
				
			||||||
if [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then
 | 
					if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
 | 
				
			||||||
  MTR="Y"
 | 
					  MTR="Y"
 | 
				
			||||||
fi
 | 
					fi
 | 
				
			||||||
if [[ $MTR == "Y" ]]; then
 | 
					if [[ $MTR == "Y" ]]; then
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue