aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2000-08-08 01:42:58 +0000
committerBill Nottingham <notting@redhat.com>2000-08-08 01:42:58 +0000
commitaa032c7ac30f7b2b78032358e3fa8556bd9cf854 (patch)
tree1a12e7c811d22cea85998c2fbec9cb57930c9af8 /rc.d
parent5f7529483aaee3df29498e18eefacc0c97dccb25 (diff)
downloadinitscripts-aa032c7ac30f7b2b78032358e3fa8556bd9cf854.tar
initscripts-aa032c7ac30f7b2b78032358e3fa8556bd9cf854.tar.gz
initscripts-aa032c7ac30f7b2b78032358e3fa8556bd9cf854.tar.bz2
initscripts-aa032c7ac30f7b2b78032358e3fa8556bd9cf854.tar.xz
initscripts-aa032c7ac30f7b2b78032358e3fa8556bd9cf854.zip
load agpgart if necessary
Diffstat (limited to 'rc.d')
-rwxr-xr-xrc.d/rc.sysinit4
1 files changed, 4 insertions, 0 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index c29e1d1f..f1521cfe 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -579,6 +579,10 @@ if [ -f /proc/scsi/scsi ] && grep -q 'Type: Sequential-Access' /proc/scsi/scsi
fi
fi
+# Load agpgart here. This is a hack, and will probably go away soon.
+if grep "driver: agpgart" /etc/sysconfig/hwconf >/dev/null 2>&1 ; then
+ modprobe agpgart >/dev/null 2>&1
+fi
# Generate a header that defines the boot kernel.
KERNEL_TYPE=`uname -r | sed 's_^[^se]*\(\|smp\|enterprise\)$_-\1_;s_^-$__'`