View Single Post
Old 05-03-2007, 05:20 PM   #8
scotty1024
Banned
scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.
 
Posts: 1,300
Karma: 1479
Join Date: Jul 2006
Location: Peoples Republic of Washington
Device: Reader / iPhone / Librie / Kindle
I know you aren't doing this but just in case someone stumbles into this thread some day, if your .sh file is on a EXT2/3 storage card you must have execute permission set on the .sh file (and any executables inside the .sh folder...) chmod +x <your>.sh

Here is my ifconfig.sh script that I have on my internal memory:
ifconfig -a >/mnt/free/if.txt

One line, works great.

I also keep a pair of these scripts on internal memory to deal with the !@#$ can't mount storage card timing issue:
mount /dev/hda1 /mnt/cf

If the card is already mounted you won't hurt anything. Running the script has always gotten my CF or MMC card mounted, where un-plugging/re-plugging might or might not.
scotty1024 is offline   Reply With Quote