diff options
author | damien <damien@mandriva.com> | 2002-03-08 18:24:36 +0000 |
---|---|---|
committer | damien <damien@mandriva.com> | 2002-03-08 18:24:36 +0000 |
commit | bf324aa6febe3b24aedab1766fda496752ac83e0 (patch) | |
tree | ef1500532db09f28c1648fd28ca9aff6ae6772c5 | |
parent | 0710eb014c0c0b91e7f6e54e0afba7befb022743 (diff) | |
download | drakx-backup-do-not-use-bf324aa6febe3b24aedab1766fda496752ac83e0.tar drakx-backup-do-not-use-bf324aa6febe3b24aedab1766fda496752ac83e0.tar.gz drakx-backup-do-not-use-bf324aa6febe3b24aedab1766fda496752ac83e0.tar.bz2 drakx-backup-do-not-use-bf324aa6febe3b24aedab1766fda496752ac83e0.tar.xz drakx-backup-do-not-use-bf324aa6febe3b24aedab1766fda496752ac83e0.zip |
drakproxy rewritten
-rwxr-xr-x | perl-install/standalone/drakproxy | 6 |
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); |