Trigger relay with Linino over REST, web or browser

Hi,
I already know how to start and execute python/shell-scripts on the linino-side,
so I could already "outsource" a lot from my sketch...

BUT I couldn't find a way to trigger my relay (connected to digital pin 8 ) from the linino-side via REST, web or browser...

I only found a way to do it with a sketch (ARDUINO-Tutorial: http://arduino.cc/en/Tutorial/Bridge#.Ux3sc9xvVmo)
but with that code my sketch-size is currently at 99% ... AFTER maximum-code-optimization and leaving out all I don't need.
and I really need more sketch-space.

Is there a way I can accomplish triggering the relay over REST/Web/browser with python/shell-scripts or something?

For trigger relay or turn on/off LED, it is a piece of cake job of Linux/GPIO pins.

Yun's AR9331 has total 29 of GPIO pins some of them are multiplexed pin with UART,I2S,LED,SLIC, JTAG, but it breaks out 0 of them. We are out of luck.

http://forum.arduino.cc/index.php?topic=218870.msg1597277#msg1597277