LinuxMCE Forums
May 21, 2013, 07:04:08 am GMT-1 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com
 
   Home   Help Search Chat Login Register  
Pages: [1]
  Print  
Author Topic: startup script  (Read 676 times)
leboff
Making baby steps

Posts: 2


View Profile
« on: September 11, 2007, 08: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
Logged
gazlang
Guru
****
Posts: 210


View Profile
« Reply #1 on: September 12, 2007, 03: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
Logged

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
« Reply #2 on: September 12, 2007, 03:46:20 pm »

worked perfectly thank you!
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!