Server pre/post commands?

Is it possible to run a script pre/post a client sharing a USB device?

I'm wanting to share an audio device that's normally in use by a Mumble server. It shares ok and works remotely, but even though I've used the "AutoAttachToKernel" setting it leaves the Mumble server dazed and confused.

How can I automatically stop the Mumble server when the audio device is shared, and restart it again then the device is released?

Thanks,
Steven P.

#3

Yes

#4

Does the onBind script run before or after the device is grabbed by VH? I want to kill a process on the server before the device disappears.

#5

Before