[LIVE] Edit Startup scripts?
#1
Hello, i'm running Dharma rc2 LIVE

and i want to use JDownloader, i've managed successfully to get jdownloader working with this Tutorial, but now i want to start jdownloader on boot executing this script:
Code:
Xvfb :1 & DISPLAY=:1 /usr/local/jdownloader/jd.sh

is it possible to add this line somewhere?

ps i'm newbie at linux
Reply
#2
Hi,

Add the line to /etc/rc.local to execute the script at boot

Quote:#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
Xvfb :1 & DISPLAY=:1 /usr/local/jdownloader/jd.sh &
exit 0

Something like this

cheers
HTPC 1 : Acer revo R3700 ion2 HTPC 2 :Apple TV2 HTPC 3 : Apple TV2 HTPC4 Acer revo R3700 ion2 Remote : x2 Riimote2
SERVER : 10TB Ubuntu Server 10.04, dual wintv nova hd s2 cards, tvheadend, Newcs, Omnikey reader, White *Sky uk* Card, Mysql Db, Sabnzbdplus, SickBeard, Couchpotato, FlexRaid. :cool:
--------------------------------------------
Image
Reply
#3
exaytly what i needed, thank you so much
Reply

Logout Mark Read Team Forum Stats Members Help
[LIVE] Edit Startup scripts?0