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.
- 03-15-2007 #1Just 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
- 03-16-2007 #2
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?
- 03-16-2007 #3Just 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.
- 03-16-2007 #4
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.


Reply With Quote
