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
Printable View
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
Usually there is a link to it from /etc/rc.local.
/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.
In Suse you have a file named boot.local. you can call your script from this file.
Regards
Umesh
yep i got it placed in boot.local thanks