#
# $Id: ubcd32-hd-diag-samsung2,v 1.2 2009-03-12 18:59:48 vrsieh Exp $
#
# Copyright (C) 2004-2009 FAUmachine Team <info@faumachine.org>.
# This program is free software. You can redistribute it and/or modify it
# under the terms of the GNU General Public License, either version 2 of
# the License, or (at your option) any later version. See COPYING.
#
cdrom_insert	ubcd32-full.iso
power_on
#
# Start utility by typing <F2> " " <F6>.
#
wait_asc	Main Menu			1min
type		"\11"
wait_asc	1/5				1min
type		" "
wait_asc	2/5				1min
type		"\15"
#
# Wait for "DISCLAIMER".
# Type "Y".
#
wait_asc	DISCLAIMER			5min
type		"Y"
#
# Wait for "FAUmachine IDE".
# Type <esc>.
#
wait_asc	FAUmachine IDE			1min
type		"\0f"
#
# Wait for "S.M.A.R.T".
# Wait for "TOOL".
# Wait for "OPTION".
# Wait for "EXIT TO DOS".
# Select "EXIT TO DOS" by typing <Arrow-Down> <Arrow-Down> <Arrow-Down> <enter>
#
wait_asc	S.M.A.R.T			1min
wait_asc	TOOL				1min
wait_asc	OPTION				1min
wait_asc	EXIT TO DOS			1min
type		"\1f"
type		"\1f"
type		"\1f"
type		"\0d"
#
# Wait for "T:\DOSAPPS\HUTIL>".
#
wait_asc	HUTIL>				1min
power_off
