1
/* ------------------------------------------------------------------
3
* Copyright (C) 2002-2006 Novell/SUSE
5
* This program is free software; you can redistribute it and/or
6
* modify it under the terms of version 2 of the GNU General Public
7
* License published by the Free Software Foundation.
9
------------------------------------------------------------------*/
13
textdomain "yast2-apparmor";
16
y2milestone("----------------------------------------");
17
y2milestone("Subdomain module started");
23
include "subdomain/apparmor_packages.ycp";
24
include "subdomain/sd-config.ycp";
26
if (!installAppArmorPackages()) {
30
list<map> config_steps =
32
$[ "id": "subdomain", "label": _("Enable AppArmor Functions") ],
35
list<map> steps = flatten( [ config_steps ] );
37
define symbol displayPage( integer no ) ``{
39
string current_id = lookup( steps[ no ]:nil, "id", "");
42
UI::WizardCommand(`SetCurrentStep( current_id ) );
44
if ( current_id == "subdomain") {
45
//button = displaySubdomainConfig();
46
button = displayAppArmorConfig();
55
integer current_step = 0;
56
symbol button = displayPage( current_step );
59
y2milestone("AppArmor module finished");
60
y2milestone("----------------------------------------");