Damn Small Linux - Not!
The forum for DSL-N
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Any Idea?

 
Post new topic   Reply to topic    Damn Small Linux - Not! Forum Index -> User Feedback
View previous topic :: View next topic  
Author Message
Curtis



Joined: 21 Jul 2006
Posts: 4

PostPosted: Thu Jul 27, 2006 8:33 am    Post subject: Any Idea? Reply with quote

Hi everybody.

I need to autoexecute a sh file at computer's boot. but de problem is that i need execute it after loading the windows system.

If i execute the shell in bootlocal.sh it doesn't work because the windows system is not loaded yet.

Any Idea?


Thanks
Back to top
View user's profile Send private message
gcosta



Joined: 25 Jul 2006
Posts: 4

PostPosted: Thu Jul 27, 2006 6:17 pm    Post subject: Reply with quote

I'm talking based on my knowledge of DSL, but i think you should verify a file named .xinitrc on your home folder (or in /etc/skel if you are recompiling a livecd). you could edit this file and put a line there invoking your sh script.

I hope this procedure applies to DSL-N!
Back to top
View user's profile Send private message
roberts



Joined: 17 Apr 2006
Posts: 320
Location: OC CA USA

PostPosted: Fri Jul 28, 2006 5:10 am    Post subject: Reply with quote

Yes. Indeed.
Back to top
View user's profile Send private message Visit poster's website
Curtis



Joined: 21 Jul 2006
Posts: 4

PostPosted: Fri Jul 28, 2006 6:40 am    Post subject: Reply with quote

it doesn't work. in the file is write that it should be executed in background but the sh can't be executed on background. and if i write it in foreground it do nothing.
Back to top
View user's profile Send private message
gcosta



Joined: 25 Jul 2006
Posts: 4

PostPosted: Fri Jul 28, 2006 11:52 am    Post subject: Reply with quote

Could you please elaborate a little bit? Are you referring to the .xinitrc or your shell script, or both? If you mean what I understood, try to run your sh in background just before the fluxbox or jwm line.

Why can't you run your sh on background?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Damn Small Linux - Not! Forum Index -> User Feedback All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group