From 1f08582ed9fbcfb8eed7d5adc9b12d095501d6cb Mon Sep 17 00:00:00 2001
From: Cecil Hugh Watson <knoppmyth@gmail.com>
Date: Fri, 30 Jan 2009 17:40:46 -0800
Subject: Modification so Atomic Ant works w/o issue.

---
 abs/core-testing/LinHES-config/systemconfig.sh | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/abs/core-testing/LinHES-config/systemconfig.sh b/abs/core-testing/LinHES-config/systemconfig.sh
index 59b5cef..80fd9b8 100755
--- a/abs/core-testing/LinHES-config/systemconfig.sh
+++ b/abs/core-testing/LinHES-config/systemconfig.sh
@@ -161,6 +161,12 @@ echo $timezone
 ln -s "/usr/share/zoneinfo/$timezone"  ${BASE}/etc/localtime
         sed -e "s~^TIMEZONE=.*$~TIMEZONE=\"${timezone}\"~" ${BASE}/etc/rc.conf > $TEMPLATES/rc.conf
 
+	grep -v disablemodules=agpart,intel_agp /proc/cmdline > /tmp/aa
+	if [ -s /tmp/aa ]; then
+		cat $TEMPLATES/rc.conf | sed -e '/MOD_BLACKLIST/ c\MOD_BLACKLIST=($ALSABLACKLIST agpart intel_agp)' > $TEMPLATES/rc.conf
+	else
+		exit 1
+	fi
        # echo CLOCK="UTC" > ${BASE}/etc/conf.dclock
        # echo CLOCK_SYSTOCH="yes" >> ${BASE}/etc/conf.d/clock
        # echo TIMEZONE="$timezone" >> ${BASE}/etc/conf.d/clock
-- 
cgit v0.12

