| View previous topic :: View next topic   | 
	
	
	
		| Author | 
		Message | 
	
	
		Curtis
 
 
  Joined: 21 Jul 2006 Posts: 4
 
  | 
		
			
				 Posted: Thu Jul 27, 2006 8:33 am    Post subject: Any Idea? | 
				     | 
			 
			
				
  | 
			 
			
				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 | 
		 | 
	
	
		  | 
	
	
		gcosta
 
 
  Joined: 25 Jul 2006 Posts: 4
 
  | 
		
			
				 Posted: Thu Jul 27, 2006 6:17 pm    Post subject:  | 
				     | 
			 
			
				
  | 
			 
			
				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 | 
		 | 
	
	
		  | 
	
	
		roberts
 
 
  Joined: 17 Apr 2006 Posts: 320 Location: OC CA USA
  | 
		
			
				 Posted: Fri Jul 28, 2006 5:10 am    Post subject:  | 
				     | 
			 
			
				
  | 
			 
			
				| Yes. Indeed. | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		Curtis
 
 
  Joined: 21 Jul 2006 Posts: 4
 
  | 
		
			
				 Posted: Fri Jul 28, 2006 6:40 am    Post subject:  | 
				     | 
			 
			
				
  | 
			 
			
				| 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 | 
		 | 
	
	
		  | 
	
	
		gcosta
 
 
  Joined: 25 Jul 2006 Posts: 4
 
  | 
		
			
				 Posted: Fri Jul 28, 2006 11:52 am    Post subject:  | 
				     | 
			 
			
				
  | 
			 
			
				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 | 
		 | 
	
	
		  | 
	
	
		 |