summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authordamien <damien@mandriva.com>2002-03-08 18:24:36 +0000
committerdamien <damien@mandriva.com>2002-03-08 18:24:36 +0000
commitbf324aa6febe3b24aedab1766fda496752ac83e0 (patch)
treeef1500532db09f28c1648fd28ca9aff6ae6772c5 /perl-install
parent0710eb014c0c0b91e7f6e54e0afba7befb022743 (diff)
downloaddrakx-bf324aa6febe3b24aedab1766fda496752ac83e0.tar
drakx-bf324aa6febe3b24aedab1766fda496752ac83e0.tar.gz
drakx-bf324aa6febe3b24aedab1766fda496752ac83e0.tar.bz2
drakx-bf324aa6febe3b24aedab1766fda496752ac83e0.tar.xz
drakx-bf324aa6febe3b24aedab1766fda496752ac83e0.zip
drakproxy rewritten
Diffstat (limited to 'perl-install')
-rwxr-xr-xperl-install/standalone/drakproxy6
1 files changed, 4 insertions, 2 deletions
diff --git a/perl-install/standalone/drakproxy b/perl-install/standalone/drakproxy
index d24017fb8..07f624bbe 100755
--- a/perl-install/standalone/drakproxy
+++ b/perl-install/standalone/drakproxy
@@ -24,9 +24,11 @@ use standalone; #- warning, standalone must be loaded very first, for 'expla
use interactive;
use network::network;
+$::o->{miscellaneous} ||= {};
+$::o->{miscellaneous} = { getVarsFromSh('/etc/profile.d/proxy.sh') };
+$::isEmbedded = ($::XID, $::CCPID) = "@ARGV" =~ /--embedded (\w+) (\w+)/;
my $in = 'interactive'->vnew('su', 'network');
-
-network::network::miscellaneousNetwork($in, 1);
+network::network::miscellaneousNetwork($in, 1, 1);
any::miscellaneousNetwork('');
$in->exit(0);