Author Topic: startup script  (Read 741 times)

leboff

  • Making baby steps
  • Posts: 2
    • View Profile
startup script
« on: September 11, 2007, 09:08:33 pm »
I'm trying to run a script that will connect to a synergy server (to share a mouse and keyboard from another computer) but I can't figure out how to get the script to run at boot.  Apparently rc.local does not work. Any help would be appreciated.

Thanks,
leboff

gazlang

  • Guru
  • ****
  • Posts: 210
    • View Profile
Re: startup script
« Reply #1 on: September 12, 2007, 04:18:36 pm »
I have my lcdproc server running on boot by placing a command in the crontab; So long as you can connect to your synergy server by a command in the terminal it should work as a cronjob.

In konsole type sudo crontab -e
then add
@reboot <command>
under the crontab header
AMD Athlon 5800+ X2
Asus M2N-SLI-Deluxe
2x Corsair XMS6400 DDR2 512mb
Samsung 400GB SATA + 500GB SATA
nVidia GeForce 7300GT
Hauppauge Nova-T 500
Hauppauge PVR-500
Thermaltake low-noise 450w PSU
Thermaltake Bach Case w/ imon vfd
Fiire Remote
UIRT

leboff

  • Making baby steps
  • Posts: 2
    • View Profile
Re: startup script
« Reply #2 on: September 12, 2007, 04:46:20 pm »
worked perfectly thank you!