home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2007 January, February, March & April
/
Chip-Cover-CD-2007-02.iso
/
boot
/
i386
/
root
/
usr
/
share
/
YaST2
/
clients
/
test_inst_client.ycp
< prev
next >
Wrap
Text File
|
2006-11-29
|
670b
|
40 lines
/**
* File: test_proposal.ycp
* Summary: For testing the network and hardware proposals.
* Author: Michal Svec <msvec@suse.cz>
*
* $Id: test_inst_client.ycp 32528 2006-08-23 11:23:58Z jsrain $
*/
{
import "Mode";
import "Stage";
import "Wizard";
/*
map args = $[];
args["enable_back"] = true;
args["enable_next"] = true;
*/
any aclient = WFM::Args (0);
if (!is (aclient, string))
return false;
string client = (string) aclient;
if (find (client, "inst_") != 0)
{
client = "inst_" + client;
}
Stage::Set ("continue");
Mode::SetMode ("installation");
Wizard::CreateDialog ();
WFM::call (client, []);
Wizard::CloseDialog ();
return true;
/* EOF */
}