View Single Post
2008-02-17, 22:18   #17
tnerual

Oct 2006

7·37 Posts

Quote:
 Originally Posted by Anonymous Okay, great! Glad to hear it's working.
here is the how to do for kubuntu ... (maybe it will not work but for me it worked)

-Make a text file in your LLRnet folder called "start-llrnet.sh" that contains the following data:
Code:
#!/bin/bash

./llrnet
Save the file and close your text editor. Open up a command window, navigate to your LLRnet folder, and type the command "sudo chmod +x start-llrnet.sh". (enter your root password)
-Type the command "sudo crontab -e". (Make sure you run that command as whatever user you'd like to run LLRnet as.)
-You'll find yourself in a command-line text editor, probably nano. Use the arrow keys to navigate to the bottom of the file, and enter the following:
Code:

@reboot sh /home/yourname/Desktop/LLRNETfolder/start-llrnet.sh
(my llrnet is on my desktop)
-Press Ctrl-X. Press the Y key, then press Enter. You will then be returned to the command prompt.
-You're all set! Repeat for each instance of LLRnet you want to run at bootup.

difference is :
sh ==> bash
sudo before commands