All pastes #466563 Raw Edit

Stuff

public text v1 · immutable
·published 2007-05-01 01:34 UTC
rendered paste body
KERNVER=`uname -r`

echo "   Module precompile check"
echo "   Current running kernel is: $KERNVER"


if [ -a /lib/modules/$KERNVER/build/include/linux/autoconf.h ]; then
   echo "   /lib/modules...   autoconf.h exists"
else
   echo "   /lib/modules...   autoconf.h does not exist"
   echo "   please install kernel source"
   exit 1
fi