[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: automatic selection which kernel image to install

On Wed, Nov 27, 2002 at 12:46:20PM -0800, Vonsur Kcin wrote:
> cpuid=sed -ne 's/^model name.*: //p' < /proc/cpuinfo

just don't forget the backticks :)

> case "$cpuid" in
>     "AMD Athlon"*)
>       echo k7
>       ;;

yeah, even simpler than i was thinking!


Attachment: pgp_Df5XU6MFl.pgp
Description: PGP signature

Reply to: