shutdown: redirect output to /dev/console only if it exists