|
我的主板是磐英的8khl+,还有什么via8223.ac97板载什卡,下载了个声卡驱动那个好人帮忙认认是什么意思哦
echo -e " -------- install start --------"
#147 Shell script for RedHat 7.1
#check kernel version
uname -r > myver
if ! grep "2.4.2-2" myver > mycheck ;
echo -e " wrong kernel version ,should not install 147audio"
else
cp viaudio.o /lib/modules/2.4.2-2/kernel/drivers/sound/viaudio.o
cp soundcore.o /lib/modules/2.4.2-2/kernel/drivers/sound/soundcore.o
if [ ! -f /lib/modules/2.4.2-2/modules.dep.old ] ; then
cp /lib/modules/2.4.2-2/modules.dep /lib/modules/2.4.2-2/modules.dep.old
echo -e " backup modules.dep to modules.dep.old"
else
echo -e " modules.dep.old already exist"
fi
#backup config.modules
if [ ! -f /etc/modules.conf.old ] ; then
cp /etc/modules.conf /etc/modules.conf.old
echo -e " backup modules.conf to modules.conf.old"
else
echo -e " modules.conf already exist"
fi
chmod u+x modconf
./modconf
if [ -f modules.conf.tmp ] ; then
cp modules.conf.tmp /etc/modules.conf
rm modules.conf.tmp
fi
insmod soundcore.o
insmod viaudio.o
fi
rm myver
rm mycheck
echo -e " -------- vinstall end --------"
帮忙吧步骤说一下
我对他不是太懂 |
|