Find the answer to your Linux question:
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.
  1. #1
    Just Joined!
    Join Date
    Nov 2006
    Location
    Hyderabad
    Posts
    94

    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

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,639
    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!

  3. #3
    Just 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.

  4. #4
    Just 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

  5. #5
    Just Joined!
    Join Date
    Nov 2006
    Location
    Hyderabad
    Posts
    94
    yep i got it placed in boot.local thanks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •