diff --git a/std2kern b/std2kern index 080e940..a0f572a 100755 --- a/std2kern +++ b/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"