View Single Post
Old 05-03-2007, 08:03 AM   #5
henkvdg
Groupie
henkvdg has read War And Peace ... all of ithenkvdg has read War And Peace ... all of ithenkvdg has read War And Peace ... all of ithenkvdg has read War And Peace ... all of ithenkvdg has read War And Peace ... all of ithenkvdg has read War And Peace ... all of ithenkvdg has read War And Peace ... all of ithenkvdg has read War And Peace ... all of ithenkvdg has read War And Peace ... all of ithenkvdg has read War And Peace ... all of ithenkvdg has read War And Peace ... all of it
 
Posts: 180
Karma: 66830
Join Date: Oct 2006
Device: IREX iLiad, Pocketbook Pro 903
Quote:
Originally Posted by rexcrieg
Hello everyone.

I wondering why my scripts aren't working. I downloaded the 'script access' update as described through iDS however, cannot seem to run scripts. When I select them, nothing happens.

For example a script in the root of the memory called myip.sh
Code:

#!/bin/sh
export scriptdir=`/usr/bin/dirname $0`
cd $scriptdir
mkdir testdir
ifconfig -a > testdir/lan.txt


Any help would be much appreciated!

The scripts should be according to UNIX file format, so only linefeeds at the end of lines, no CR's.
If you work on a PC a way to achieve that is use the program DOS2UNIX
henkvdg is offline   Reply With Quote