#!/usr/bin/perl

$modLog = "/tmp/modprobe.log";
$modErr = "/tmp/modprobe.err";

#######################
### Loading rtc & agpgart modules...
######
system "modprobe -s rtc     >> $modLog 2>> $modErr";
system "modprobe -s apm     >> $modLog 2>> $modErr";
system "modprobe -s agpgart >> $modLog 2>> $modErr";

# load the OSS emulation module for systems that don't work with alsa
system "modprobe -s snd-pcm-oss >> $modLog 2>> $modErr";


