View Single Post
Old 01-24-2008, 11:03 AM   #4
tribble
iLiad Maniac
tribble knows what time it istribble knows what time it istribble knows what time it istribble knows what time it istribble knows what time it istribble knows what time it istribble knows what time it istribble knows what time it istribble knows what time it istribble knows what time it istribble knows what time it is
 
tribble's Avatar
 
Posts: 1,382
Karma: 2369
Join Date: Apr 2006
Location: Germany
Device: Bookeen Opus (i love that thing) and iPad (what an irony)
PHP Code:
#!/bin/sh  ### tells the machine where to find the shell
export DISPLAY=:0   ### tells the machine which display to use. i think this is standard environment, when started from contentlister.
export scriptdir=`/usr/bin/dirname $0`  ### this tells the programm, that the scriptdir is the directory, from which the *.sh was started.
cd $scriptdir  ### this changes to the directory.
/etc/init.d/dropbear start 
Why this helps though, i have no idea.
tribble is offline   Reply With Quote