/**
 * File:	clients/inst_ask_net_test.ycp
 * Package:	Network configuration
 * Summary:	Configuration dialogs for installation
 * Authors:	Michal Svec <msvec@suse.cz>
 *		Arvin Schnell <arvin@suse.de>
 *
 * $Id: inst_ask_net_test.ycp 19988 2004-10-27 09:37:05Z mvidner $
 */

{

textdomain "network";

import "Internet";
import "Mode";

include "network/routines.ycp";
include "network/installation/dialogs.ycp";

if (Mode::update ())
{
    // FIXME should be made somewhere else

    y2milestone ("starting network");
    SCR::Execute (.target.bash, "/sbin/rcnetwork start");
    sleep (1);
}

/* Nothing to test */
if(!Internet::FindFastest())
    return `auto;

return TestStepsDialog();

/* EOF */
}
