From 16e43d6bf38560e0d7b93fc1419a5df959e0751a Mon Sep 17 00:00:00 2001 From: "Esteban Mackay Q." Date: Wed, 29 May 2024 10:14:50 -0500 Subject: [PATCH] Update menu-ap --- menu/menu-ap | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/menu/menu-ap b/menu/menu-ap index f336b79..ea0f303 100644 --- a/menu/menu-ap +++ b/menu/menu-ap @@ -2,6 +2,7 @@ if [ "$(cat /proc/cpuinfo | grep 'Raspberry')" != "" ]; then # menu-ap sudo cat > /bin/menu-ap <<- "EOF" +if [ "$(cat /proc/cpuinfo | grep 'Raspberry')" != "" ]; then #!/bin/bash while : @@ -56,7 +57,7 @@ exit 0 else whiptail --title "IP Tools" --msgbox "Esta opcion solo esta disponible para Raspberry / This option is only available for Raspberry" 0 50 exit 0 - +fi EOF chmod +x /bin/menu-ap