1 2 3 4 5 6 7 8 9 10 11 12 13
case `awk 'BEGIN { FS=":" } /Processor/ { gsub(/ /, "", $2) ; print $2 } ' </proc/cpuinfo` in *XScale-PXA2*) PCIC=pxa_cs ;; *StrongARM-1100* | *StrongARM-1110*) PCIC=sa1100_cs ;; *) echo "Unable to determine PCIC value for this CPU" exit 1 ;; esac