Thread: iLiad Iliad internals
View Single Post
Old 07-19-2006, 07:45 AM   #21
Tscherno
iLiad Geek
Tscherno began at the beginning.
 
Tscherno's Avatar
 
Posts: 110
Karma: 10
Join Date: Jul 2006
Location: Regensburg / Germany
Device: iLiad #505; Sony T1, Amazon Paperwhite first Gen & sec is coming!
Quote:
Originally Posted by ali
I don't have my Iliad by hand. Try this:

Make a textfile /usr/bin/eba with this contents: (Second line is dot space dblquote dollar at dblquote)
Code:
#!/bin/sh
. "$@"
Make it executable (via "chmod 755 /usr/bin/eba")

Now copy a shell script into a document folder (i.e., newspapers,documents,etc) but give it the extension ".eba", for example:

run-wired.eba could look like this:
Code:
#!/bin/sh
/usr/bin/wired.sh start
Now clicking ("viewing") the run-wired.eba file from the gui should start wired networking.
Great idea! But could cause trouble if they deliver the "real" eba-thing. How about creating an Entry in the Config-File for .sh-Files?
Tscherno is offline   Reply With Quote