I have an ASUS motherboard with a builtin realtek sound chip. I am
running Ubuntu 8.10 amd64 and there is a problem with the os finding the
sound chip. A work around is to enter 'sudo rmmod snd_hda_intel' and
'sudo modprobe snd_hda_intet' after the system boots. I wish to
automate this with a script. Obviously the script would be:
#!/bin/sh
rmmod snd_hda_intel
modprobe snd_hda_intet
The question is how do I give the script permission to run 'rmmod' and
'modprobe' and how do I have it executed after the system has booted,
but before the logon prompt and where should I put it? Thank you.