Terminating after reverse connection

Hi,

I'm using a simple bash script to launch Vineserver and initiate a reverse connection, but after it's finished Vineserver keeps running in the background. Is there a way to terminate it after the reverse connection has finished?

The script I'm using is as follows :
let "[email protected]+5500"
'/Applications/Vine Server.app/Contents/MacOS/OSXvnc-server' -connectHost london.runpcrun.net -connectPort $port -rfbwait 5000 

Any ideas?

Comments

Sign In or Register to comment.