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