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
/
modules
/
Runlevel.ycp
< prev
next >
Wrap
Text File
|
2006-11-29
|
2KB
|
80 lines
/**
* File: modules/Runlevel.ycp
* Package: yast2
* Summary: Service manipulation
* Authors: Martin Vidner <mvidner@suse.cz>
* Petr Blahos <pblahos@suse.cz>
*
* $Id: Runlevel.ycp 15451 2004-03-05 10:15:39Z msvec $
*
* This module is obsolete and for compatibility only.
* Use Service instead.
*/
{
module "Runlevel";
textdomain "base";
import "Service";
global string error_msg = "";
global define map ServiceInfo (string name) {
y2warning("Runlevel module is deprecated, use Service instead");
map ret = Service::Info(name);
error_msg = Service::Error();
return ret;
}
global define integer ServiceStatus (string name) {
y2warning("Runlevel module is deprecated, use Service instead");
integer ret = Service::Status(name);
error_msg = Service::Error();
return ret;
}
global define map ServiceFullInfo (string name) {
y2warning("Runlevel module is deprecated, use Service instead");
map ret = Service::FullInfo(name);
error_msg = Service::Error();
return ret;
}
global define boolean ServiceAdjust (string name, string action) {
y2warning("Runlevel module is deprecated, use Service instead");
boolean ret = Service::Adjust(name, action);
error_msg = Service::Error();
return ret;
}
global define boolean ServiceFinetune (string name, list rl) {
y2warning("Runlevel module is deprecated, use Service instead");
boolean ret = Service::Finetune(name, rl);
error_msg = Service::Error();
return ret;
}
global define boolean ServiceEnabled (string name) {
y2warning("Runlevel module is deprecated, use Service instead");
boolean ret = Service::Enabled(name);
error_msg = Service::Error();
return ret;
}
global define integer RunInitScript (string name, string param) {
y2warning("Runlevel module is deprecated, use Service instead");
integer ret = Service::RunInitScript(name, param);
error_msg = Service::Error();
return ret;
}
global define map RunInitScriptOutput (string name, string param) {
y2warning("Runlevel module is deprecated, use Service instead");
map ret = Service::RunInitScriptOutput(name, param);
error_msg = Service::Error();
return ret;
}
/* EOF */
}