summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-08-26 13:42:48 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-08-26 13:42:48 +0000
commit6d8f55d9f975b9837637c0fe5a5018cd2957f489 (patch)
tree9766313e35fe0234356bd1dab78eb012684c6f6a
parent4aae606f5aa4ed3f44e21e9a1743fc951a4dc761 (diff)
downloaddrakx-6d8f55d9f975b9837637c0fe5a5018cd2957f489.tar
drakx-6d8f55d9f975b9837637c0fe5a5018cd2957f489.tar.gz
drakx-6d8f55d9f975b9837637c0fe5a5018cd2957f489.tar.bz2
drakx-6d8f55d9f975b9837637c0fe5a5018cd2957f489.tar.xz
drakx-6d8f55d9f975b9837637c0fe5a5018cd2957f489.zip
add --gui in order to start in "mcc" state (aka not in wizard mode)
-rwxr-xr-xperl-install/standalone/drakconnect2
1 files changed, 1 insertions, 1 deletions
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));