#!/bin/bash

# first get helper functions (e.g. DEBUG, load_scheme, ...)
. "/usr/lib/powersave/scripts/helper_functions"

# we already log this at DIAG level in helper_functions
DEBUG "process script: switch_vt" INFO

local VT
VT=`fgconsole`
chvt 1
chvt $VT
$SCRIPT_RETURN "$4|0|switch_vt finished"
exit 0

