#!/bin/bash

/usr/X11R6/bin/X -probeonly 2>/dev/null
if [ $? -ne 0 ]
then
   /opt/hsc/sbin/chvcons enable
else
   /opt/hsc/sbin/chvcons disable
fi
exit 0
