display kernel version
This commit is contained in:
parent
0913082112
commit
66319c89ef
31
std2kern
31
std2kern
|
@ -9,20 +9,6 @@ DODIFF=false
|
|||
DIFFREV=false
|
||||
ALLOW_ANY_DIR=true
|
||||
|
||||
echo
|
||||
echo "BE AWARE!!"
|
||||
echo
|
||||
echo "You are just attempting to overwrite your Kernel mISDN Sources"
|
||||
echo "you probably prefer to use make install."
|
||||
echo
|
||||
echo "If you still want to patch your Kernel just answer yes:"
|
||||
read i
|
||||
|
||||
if [ ! $i == "yes" ] ; then
|
||||
echo "OK exiting"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
docp() {
|
||||
|
||||
SRCNAME=$1;
|
||||
|
@ -238,6 +224,23 @@ while getopts :dhk:uc:vtidr a ; do
|
|||
done
|
||||
shift `expr $OPTIND - 1`
|
||||
|
||||
echo
|
||||
echo "BE AWARE!!"
|
||||
echo
|
||||
echo "You are just attempting to overwrite your Kernel mISDN Sources"
|
||||
echo "you probably prefer to use make install."
|
||||
echo
|
||||
echo "KERNELDIR=$KERNELDIR"
|
||||
ls -ld $KERNELDIR
|
||||
echo
|
||||
echo "If you still want to patch this Kernel just answer yes:"
|
||||
read i
|
||||
|
||||
if [ ! $i == "yes" ] ; then
|
||||
echo "OK exiting"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ -z "$VERSION" -o -z "$PATCHLEVEL" ] ; then
|
||||
if ! [ -f $KERNELDIR/Makefile ] ; then
|
||||
echo "VERSION/PATCHLEVEL not set and no Makefile to read from"
|
||||
|
|
Loading…
Reference in New Issue