jbjohnso 8b476545d6 -Change places in blade and ipmi plugin where error output was not treated like error output
-Add wvid support for certain service processor builds in ipmi


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2823 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-02 18:33:59 +00:00

17 lines
598 B
Bash
Executable File

#!/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
echo $rvid_jnlp > /tmp/xcat/wvid_imm_media_$$.jnlp
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