#!/sbin/sh # # Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved. # . /lib/svc/share/smf_include.sh smf_is_globalzone || exit $SMF_EXIT_OK /usr/sbin/vbiosd -g rc=$? if [ $rc -ne 0 ]; then echo "WARNING: unable to reset console to text mode" fi # # This sleep gives gdm time to start the X server (if it is going to). # sleep 30 # Catch situations where gdm is online but there is no local X server # running. The kernel will deal with ignoring the request if a reset is not # necessary. /usr/sbin/vbiosd -F -g exit $SMF_EXIT_OK