Unfortunately this is solution still doesn't work for me :S, I'm using Ubuntu 9.10.

You just added this script in the autostart application? You didn't add anything to /etc/rc0.d or rc6.d...