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
Remember Osborns Law:
Variables wont, constants aren't :D
But kidding aside, you probably want to add those changes to the rc.M file.
What variables are we talking about?
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
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.
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.