From c496321f1408b92509bdd1590f180b98cc4e1c54 Mon Sep 17 00:00:00 2001 From: Robert Nelson Date: Tue, 24 Aug 2010 09:08:19 -0500 Subject: [PATCH] new flash-kernel.conf --- scripts/flash-kernel.conf | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) 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