Find the answer to your Linux question:
Results 1 to 4 of 4
I've been trying to had a variable value and a command to the startup slack, I already tried playing around with rc.local and rc.S, but in both files I didn't ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2007
    Location
    Portugal
    Posts
    2

    Slack init files


    I've been trying to had a variable value and a command to the startup slack, I already tried playing around with rc.local and rc.S, but in both files I didn't manage to get the results I wanted.
    Am I doing anything wrong?Or I'm just trying to do this in the wrong places?
    Thanks in advance

  2. #2
    Linux Engineer Freston's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    1,049
    Remember Osborns Law:
    Variables wont, constants aren't

    But kidding aside, you probably want to add those changes to the rc.M file.

    What variables are we talking about?

  3. #3
    Just Joined!
    Join Date
    Mar 2007
    Location
    Portugal
    Posts
    2


    The variable is CVSROOT, since I need to give it the same value everytime slack starts I thought about this.
    Also I want to add:
    modprobe -r usbmouse
    modprobe hid
    when it starts, since my mouse wont work if I don't do this commands before going into X.
    When I added the modprobe commands to rc.S I actually got a response from slack at start, but it was a message saying the command wasn't valid.

  4. #4
    Linux Engineer Freston's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    1,049
    Oh yeah, rc.M is the one you want to change for CVSROOT.

    But isn't /etc/X11/xorg.conf the place to be for all your input/output devices?

    You might want to give it a look, although I can imagine that editing rc.M could also do the trick.

Posting Permissions

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