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
/
inst_iscsi-client.ycp
< prev
next >
Wrap
Text File
|
2006-11-29
|
1KB
|
54 lines
/**
* File: clients/iscsi-client.ycp
* Package: Configuration of iscsi-client
* Summary: Main file
* Authors: Michal Zugec <mzugec@suse.cz>
*
* $Id: inst_iscsi-client.ycp 30374 2006-04-24 05:55:11Z mzugec $
*
* Main file for iscsi-client configuration. Uses all other files.
*/
{
/***
* <h3>Configuration of iscsi-client</h3>
*/
textdomain "iscsi-client";
/* The main () */
y2milestone ("----------------------------------------");
y2milestone ("IscsiClient module started");
import "Progress";
import "Report";
import "Summary";
import "ModuleLoading";
import "Packages";
include "iscsi-client/wizards.ycp";
/* main ui function */
any ret = nil;
y2milestone("start open-iscsi");
// check initiator name, create if not exists
IscsiClient::checkInitiatorName();
ModuleLoading::Load("iscsi_tcp", "", "", "", false, true);
// start daemon before
SCR::Execute(.background.run_output_err, "iscsid");
// run dialog
ret = MainSequence();
y2debug("MainSequence ret=%1", ret);
// add package open-iscsi to installed system
Packages::addAdditionalPackage("open-iscsi");
/* Finish */
y2milestone("IscsiClient module finished");
y2milestone("----------------------------------------");
return ret;
/* EOF */
}