I've written a simple shell script on my iphone that, when executed, will ssh into a Linux HTPC (that I use for XBMC and MythTV) and restart the myth-backend service when it's in a crashed state.

Currently I have the script saved as /usr/bin/mythbackend on my iphone and it can be launched via MobileTerminal.

This is fine and it works, but I was hoping to simplify the process even further by assigning the shell script to an icon on the iphone desktop. I'm sure this is possible but so far I've yet to come across a method or howto on doing such a thing.

If anyone has any pointers I'd be appreciative.