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