Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (3) </ [1] 2 3 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: startup files, where to insert  startup files< Next Oldest | Next Newest >
caulktel Offline





Group: Members
Posts: 185
Joined: Sep. 2003
Posted: Dec. 06 2003,04:33 QUOTE

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


--------------
Joel
KB6QVI
Back to top
Profile PM 
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: Dec. 06 2003,18:43 QUOTE

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.
Back to top
Profile PM WEB 
caulktel Offline





Group: Members
Posts: 185
Joined: Sep. 2003
Posted: Dec. 10 2003,16:25 QUOTE

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.
Back to top
Profile PM 
skaos
Unregistered






Posted: Dec. 10 2003,17:20 QUOTE

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).
Back to top
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: Dec. 10 2003,20:34 QUOTE

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.
Back to top
Profile PM WEB 
11 replies since Dec. 06 2003,04:33 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (3) </ [1] 2 3 >/
reply to topic new topic new poll
Quick Reply: startup files

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code