lkml.org 
[lkml]   [2001]   [Nov]   [17]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
Fromhari <>
SubjectLinux-2.4.15-pre5 - probably something wrong with /proc/cpuinfo.
DateSun, 18 Nov 2001 01:45:29 +0000
Hello,

The following shell script (extracted from SuSE 7.1 /etc/rc.d/boot) would 
execute fine on Linux-2.4.14, Linux-2.4.15-pre3 etc.. but not on 
Linux-2.4.15-pre5 (AMD Athlon Computer). Couldn't check it on 
Linux-2.4.15-pre4 as it would not compile successfully.

#!/bin/bash
# set and adjust the CMOS clock
if test "$HWCLOCK_ACCESS" != "no" ; then
echo -n Setting up the CMOS clock
CLOCKCMD=hwclock
while read line; do
        case "$line" in
                *MTX\ Plus*) CLOCKCMD="hwclock --mtxplus --directisa" ;;
                *PReP\ Dual\ MTX*) CLOCKCMD="hwclock --mtxplus --directisa" ;;
        esac
done < /proc/cpuinfo
fi

May someone be kind enough to let me know where the problem could be?
-- 
Thank you,
harisri@bigpond.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:13    [from the cache]
©2003-2008