Re: automatic selection which kernel image to install
On Wed, Nov 27, 2002 at 12:46:20PM -0800, Vonsur Kcin wrote:
> case "$cpuid" in
> "AMD Athlon"*)
> echo k7
> ;;
> "AMD K6"*)
> echo k6
> ;;
> "Celeron"*)
> echo 686
> ;;
> "Pentium "*)
> echo 586tsc
> ;;
> *)
> echo 386
> esac
>
> :)
>
> Of course this is non-exhaustive. Just all the CPUs I had laying
> around...
Shouldn't be too hard to get it to be "good enough" with a few contributed
data points. e.g., "Pentium II" is a 686.
--
- mdz
Reply to: