looked in /usr/include/linux
authorDavid Schleef <ds@schleef.org>
Tue, 7 Nov 2000 21:59:45 +0000 (21:59 +0000)
committerDavid Schleef <ds@schleef.org>
Tue, 7 Nov 2000 21:59:45 +0000 (21:59 +0000)
scripts/check_kernel

index 72ed648d7c1a596cff8cd93d1affdb37beaadb3b..1d14b3cbfec25a249bbdd6ba33638f8cf2946df7 100755 (executable)
@@ -2,16 +2,17 @@
 
 
 
-if [ $(grep -c "$(uname -r)" /usr/include/linux/version.h) != 0 ]
+if [ $(grep -c "$(uname -r)" ${LINUXDIR}/include/linux/version.h) != 0 ]
 then
        echo <<EOF
  *****
  *****    WARNING!!!
  *****
  *****    The kernel that is currently running is a different
- *****    version than the source in /usr/src/linux.  The current
+ *****    version than the source in ${LINUXDIR}.  The current
  *****    compile will create a module that is *incompatible*
- *****    with the running kernel.
+ *****    with the running kernel.  (This may be exactly what
+ *****    you want, however.)
  *****
 EOF
 fi