diff --git a/scripts/flash-kernel.conf b/scripts/flash-kernel.conf index 09ef600..96e069e 100644 --- a/scripts/flash-kernel.conf +++ b/scripts/flash-kernel.conf @@ -1,6 +1,22 @@ #!/bin/sh +UBOOT_PART=/dev/mmcblk0p1 -DONT_FLASH=1 -exit 0 +echo "flash-kernel stopped by: /etc/flash-kernel.conf" +echo "You are currently running an image built by rcn-ee.net running an rcn-ee" +echo "kernel, to use Ubuntu's Kernel remove the next line" +USE_RCN_EE_KERNEL=1 +if [ "$USE_RCN_EE_KERNEL" ] ; then +DIST=$(lsb_release -cs) + +case "$DIST" in + lucid) + exit 0 + ;; + maverick) + FLASH_KERNEL_SKIP=yes + ;; +esac + +fi