From 6d8f55d9f975b9837637c0fe5a5018cd2957f489 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 26 Aug 2003 13:42:48 +0000 Subject: add --gui in order to start in "mcc" state (aka not in wizard mode) --- perl-install/standalone/drakconnect | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/standalone/drakconnect') diff --git a/perl-install/standalone/drakconnect b/perl-install/standalone/drakconnect index 82c7af43c..38ce3e4a6 100755 --- a/perl-install/standalone/drakconnect +++ b/perl-install/standalone/drakconnect @@ -60,7 +60,7 @@ MDK::Common::Globals::init( connect_prog => "/etc/sysconfig/network-scripts/net_cnx_pg" ); -$::isEmbedded && ref($in) =~ /gtk/ or goto dd; +($::isEmbedded || /--gui/) && ref($in) =~ /gtk/ or goto dd; require ugtk2; ugtk2->import(qw(:create :dialogs :helpers :wrappers)); -- cgit v1.2.1