2009-03-02 18:33:59 +00:00
|
|
|
#!/bin/bash
|
|
|
|
# IBM(c) 2007 EPL license http://www.eclipse.org/legal/epl-v10.html
|
|
|
|
mkdir -p /tmp/xcat
|
|
|
|
JAVADETECTED=`which javaws 2> /dev/null`
|
|
|
|
if [ -z "$JAVADETECTED" ]; then
|
|
|
|
echo "Error: javaws not in path, unable to execute remote video"
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
echo $rvid_jnlp > /tmp/xcat/wvid_imm_$$.jnlp
|
|
|
|
javaws /tmp/xcat/wvid_imm_$$.jnlp >& /dev/null
|
|
|
|
if [ ! -z "$rvid_mediajnlp" ]; then
|
2009-03-03 15:28:21 +00:00
|
|
|
echo $rvid_mediajnlp > /tmp/xcat/wvid_imm_media_$$.jnlp
|
2009-03-02 18:33:59 +00:00
|
|
|
javaws /tmp/xcat/wvid_imm_media_$$.jnlp >& /dev/null
|
|
|
|
rm /tmp/xcat/wvid_imm_media_$$.jnlp >& /dev/null
|
|
|
|
fi
|
|
|
|
rm /tmp/xcat/wvid_imm_$$.jnlp >& /dev/null
|