d18f991e5b6540c80245e020691560c3ddbae58e
[portage-overlay.git] / app-crypt / msva-perl / files / 10-msva-perl.sh
1 #!/bin/bash
2
3 MSVA_PORT=$RANDOM
4 let "MSVA_PORT %= 999"
5 let "MSVA_PORT += 33000"
6 export MSVA_PORT
7 msva-perl >/dev/null&
8 MONKEYSPHERE_VALIDATION_AGENT_SOCKET=http://127.0.0.1:${MSVA_PORT};
9 export MONKEYSPHERE_VALIDATION_AGENT_SOCKET;