Doh!  I also meant to add that there are some other tools available for
messing with this stuff that you can install with apt-get.  Check out
the packages:

rcconf
sysv-rc-conf
sysvconfig

Some of those may not be applicable, I don't know.  I've not tried any
of them.

Alan Bromborsky wrote:
> 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.

Reply via email to