Results 1 to 5 of 5
Hi,
I am using suse 2.6,
/etc/rc.d/rc.local is not found.i want to run some default scripts while booting ...like /usr/sbin/serial.o
where i have to have to do this ....please any ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 03-25-2010 #1Just Joined!
- Join Date
- Nov 2006
- Location
- Hyderabad
- Posts
- 87
rc.locl
Hi,
I am using suse 2.6,
/etc/rc.d/rc.local is not found.i want to run some default scripts while booting ...like /usr/sbin/serial.o
where i have to have to do this ....please any body can give some solution on this.
thanks
- 03-25-2010 #2Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 10,160
Usually there is a link to it from /etc/rc.local.
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 03-25-2010 #3Just Joined!
- Join Date
- Jan 2010
- Posts
- 35
/etc/rc.d/rc.local is fine to use for custom scripts but it is not the recommended method. Instead, it is recommended to add a script into the /etc/rc.d/init.d directory. The easiest way to do this is to copy another script from within and editing it to point to your script.
This is method is better because it runs like a normal service and will allow you to stop, start, and restart just like you do for the other services.
- 03-26-2010 #4Just Joined!
- Join Date
- Jan 2009
- Posts
- 2
In Suse you have a file named boot.local. you can call your script from this file.
Regards
Umesh
- 03-26-2010 #5Just Joined!
- Join Date
- Nov 2006
- Location
- Hyderabad
- Posts
- 87
yep i got it placed in boot.local thanks


Reply With Quote
