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_restore_settings.ycp
< prev
next >
Wrap
Text File
|
2006-11-29
|
742b
|
42 lines
/**
* File: clients/inst_restore_settings
* Package: Installation
* Summary: Restore settings after restart during 2nd-stage installation
* Authors: Anas Nashif <nashif@suse.de>
*
* $Id: inst_restore_settings.ycp 27936 2006-02-13 20:01:14Z olh $
*
*/
{
textdomain "installation";
import "GetInstArgs";
import "Service";
import "NetworkDevices";
import "SuSEFirewall";
if(GetInstArgs::going_back())
return `back;
foreach (string service, ["network"], {
if (Service::Enabled (service) && Service::Status (service) != 0)
{
Service::Start (service);
}
});
NetworkDevices::Read ();
if (SuSEFirewall::IsEnabled () && ! SuSEFirewall::IsStarted ())
{
SuSEFirewall::StartServices ();
}
return `auto;
/* EOF */
}