Other Help Topics :: startup files



Hi, Does anybody know where in DSL you would stick a command that you want to execute on bootup? I need to issue a modprobe command to load my sound
card module at bootup. Any help would be great.

Joel

I would wait till 0.5.1 as it has .bash_profile which is very easy to add commands for both LiveCD via restore and HD users. Otherwise you will have to hack around in some system files.
Well, I just installed 5.1 on my laptop and inserted the rather long modprobe command in the .bash_profile, but it still wont load it on bootup. I tried putting it before the other two commands and after them, still won't load it. Why is there no rc.local files, that always worked on other distrobutions. I still love DSL though.
Take a look at the files in /etc/rc.d and find which file that's used for loading modules (or maybe it is in /etc/rc.d/init, I'm not quite sure).
Need more information on where you put the commands and what type of system. If a LiveCD did you save and then restore at boot.  Did you use Damnsmall's .bash_profile, did you add sudo before the modprobe ...? If the modprobe works at a shell, it should work in the .bash_profile.
Next Page...
original here.