Pieter Botha wrote:
I need to run a program which resets my LPT port on startup (LPT is connected to garden system and if any of the relays are open, then some stuff in the garden are turned on). I see that as soon as X is started, some relays are opened and I need to run a program to set them back off (closed). The software already works, the trick is to start it as soon as X start as well as when the PC reboots. Any hints?
Pieter Botha
You can launch your program from /etc/rc.d/boot.local (this is meant for such things) :-) And in case I understand you right that it ALSO happens when you start X you also need to put it into the X startup file (like .xinitrc or so), but I don't know exactly which one to use for that :-( Yours Martin