View Single Post
Old 05-03-2007, 07:13 AM   #2
tororebelde
No es el toro que piensas
tororebelde began at the beginning.
 
tororebelde's Avatar
 
Posts: 44
Karma: 10
Join Date: Mar 2007
Device: iRex iliad
Hi,

I init all my scripts with:

Code:
export DISPLAY=:0
export scriptdir=`/usr/bin/dirname $0`
cd $scriptdir

#put here your own stuff
So no need to put #!/bin/sh on your scripts.

Hope this helps you and welcome to mobileread!
tororebelde is offline   Reply With Quote