PDA

Bekijk de volledige versie : Autostart script/program?



raster
02-12-2007, 03:18
I finally managed to install twonky. Now I just need a little help on how to make it autostart. I'm using the post-script file and have tried reeboting with "/tmp/harddisk/twonkyvision/twonkymedia &" in it, but without luck.

Regards Rasmus

raster
02-12-2007, 18:05
Figured it out

vi /usr/local/sbin/post-mount



#!/bin/sh
cd /tmp/harddisk/twonkyvision
/tmp/harddisk/twonkyvision/twonkymedia -D


flashfs save && flashfs commit && flashfs enable && reboot

Check with the command ps or ps asx if twonky has autostarted