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

Re: patch for hw-detect.sh



Harald Dunkel wrote:
[snip]
> @@ -251,13 +253,27 @@
>  # XXX: This isn't the best way to do this; we should autodetect.
>  # The order of these modules are important.
>  get_manual_hw_info() {
> +	case $KERNEL_VERSION in
> +		2.4.*)
> +			KERNEL_IS_24=yup
> +			KERNEL_MICROVERSION=`echo $KERNEL_VERSION | cut -d. -f3`

This will fail for some architectures:

hattusa:~$ uname -r
2.4.26-sb1-swarm-bn


Thiemo



Reply to: