ACC SHELL

Path : /usr/share/YaST2/clients/
File Upload :
Current File : //usr/share/YaST2/clients/firewall.ycp

/**
 * Copyright 2004, Novell, Inc.  All rights reserved.
 *
 * File:	clients/firewall.ycp
 * Package:	Firewall configuration
 * Summary:	Firewall configuration dialogs
 * Authors:	Lukas Ocilka <locilka@suse.cz>
 *
 * $Id: firewall.ycp 48908 2008-07-08 09:33:41Z locilka $
 *
 * File includes helps for yast2-firewall dialogs.
 */

{
    y2milestone("----------------------------------------");
    y2milestone("Firewall module started");

    textdomain "firewall";

    import "SuSEFirewall";
    import "Mode";

    any ret = nil;

    // bnc #388773
    // Explicitely enable offering to install the firewall packages
    // if they are missing
    SuSEFirewall::SetInstallPackagesIfMissing (true);

    // there are some arguments - starting commandline
    if (size(WFM::Args())>0) {
	import "SuSEFirewallCMDLine";
	SuSEFirewallCMDLine::Run();
    // GUI or TextUI
    } else {
	include "firewall/wizards.ycp";
	// installation has other sequence
	if (Mode::installation()) {
	    ret = FirewallInstallationSequence();
	} else {
	    ret = FirewallSequence();
	}
    }

    y2debug("ret=%1",ret);

    y2milestone("Firewall module finished");
    y2milestone("----------------------------------------");

    return ret;

/* EOF */
}

ACC SHELL 2018