summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/LinHES-config/systemconfig.sh
diff options
context:
space:
mode:
authorCecil Hugh Watson <knoppmyth@gmail.com>2009-02-10 06:15:31 (GMT)
committerCecil Hugh Watson <knoppmyth@gmail.com>2009-02-10 06:15:31 (GMT)
commit03e928006035cb5dcc51f0071ca3103c6ea5af00 (patch)
treeb3407d2e98c8c140169d4b1ac8cec07db815850e /abs/core-testing/LinHES-config/systemconfig.sh
parent3c23b95df42b8ec226ab4110364cd69a50b48b2b (diff)
downloadlinhes_pkgbuild-03e928006035cb5dcc51f0071ca3103c6ea5af00.zip
linhes_pkgbuild-03e928006035cb5dcc51f0071ca3103c6ea5af00.tar.gz
linhes_pkgbuild-03e928006035cb5dcc51f0071ca3103c6ea5af00.tar.bz2
Fixes for Atomic Ant.
Diffstat (limited to 'abs/core-testing/LinHES-config/systemconfig.sh')
-rwxr-xr-xabs/core-testing/LinHES-config/systemconfig.sh13
1 files changed, 7 insertions, 6 deletions
diff --git a/abs/core-testing/LinHES-config/systemconfig.sh b/abs/core-testing/LinHES-config/systemconfig.sh
index 82c2b97..9a0828a 100755
--- a/abs/core-testing/LinHES-config/systemconfig.sh
+++ b/abs/core-testing/LinHES-config/systemconfig.sh
@@ -165,14 +165,15 @@ ln -s "/usr/share/zoneinfo/$timezone" ${BASE}/etc/localtime
# echo CLOCK_SYSTOCH="yes" >> ${BASE}/etc/conf.d/clock
# echo TIMEZONE="$timezone" >> ${BASE}/etc/conf.d/clock
cp_and_log $TEMPLATES/rc.conf ${BASE}/etc/rc.conf
-# #Check for Atomic Ant
-# if grep disablemodules=agpart,intel_agp /proc/cmdline >/dev/null
-# then
-# cat /etc/rc.conf.1 | sed -e '/MOD_BLACKLIST/ c\MOD_BLACKLIST=($ALSABLACKLIST agpart intel_agp)' > /etc/rc.conf
-# rm -fr /etc/rc.conf.1
+#Check for Atomic Ant
+ if grep disablemodules=agpart,intel_agp /proc/cmdline >/dev/null
+ then
+ cat /etc/rc.conf | sed -e '/MOD_BLACKLIST/ c\MOD_BLACKLIST=($ALSABLACKLIST agpart intel_agp)' > /etc/rc.conf.aa
+ mv /etc/rc.conf /etc/rc.conf.preaa
+ mv /etc/rc.conf.aa /etc/rc.conf
# else
# exit 1
-# fi
+ fi
}