summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/icons/harddrake2/ups.png
blob: 487ba5522fe212cf82e3a877f92f2172e0182eab (plain)
ofshex dumpascii
0000 89 50 4e 47 0d 0a 1a 0a 00 00 00 0d 49 48 44 52 00 00 00 14 00 00 00 14 08 06 00 00 00 8d 89 1d .PNG........IHDR................
0020 0d 00 00 00 09 70 48 59 73 00 00 0e c4 00 00 0e c4 01 95 2b 0e 1b 00 00 04 7d 49 44 41 54 38 8d .....pHYs..........+.....}IDAT8.
0040 75 94 4b 6c 13 57 14 86 bf 99 b1 3d b1 c7 c6 8e 9d 98 84 26 ce 83 3e 12 48 5a b5 54 08 d4 55 65 u.Kl.W.....=.......&..>.HZ.T..Ue
0060 15 2a 50 a9 a0 6a 16 95 da 15 95 a8 d4 48 6c 5a d4 25 12 12 02 75 91 a8 eb 8a 0d ab 56 08 a9 0f .*P..j.......HlZ.%...u......V...
0080 b2 40 42 ad d4 92 c6 6d a0 14 52 1c 42 1e 8e f3 f2 24 f6 8c 1f e3 f7 cc 74 81 9d 86 a2 1e e9 4a .@B....m..R.B....$......t......J
00a0 f7 71 ee a7 73 7e fd f7 0a 3c 1b 0e 40 06 84 1d 7b 36 50 01 ea 8d 75 4b 23 ef 99 f3 9d 9b 34 20 .q..s~...<..@...{6P...uK#.....4.
00c0 cf 9f 3d fb f9 89 ee ee 1e bf d7 e3 a1 50 2c 92 4c 26 b2 63 63 97 bf 07 e2 8d 9c e1 4b 17 2f 1d ..=..........P,.L&.cc.......K./.
00e0 3d f7 c5 b9 99 68 34 da 1a 89 44 e4 2b 57 ae fc 00 24 9b 20 27 d0 09 bc 04 bc 3f 39 f9 57 2a 36 =....h4...D.+W...$..'.....?9.W*6
0100 f5 c0 7e 34 bb 62 c7 a6 1e d8 93 93 f7 54 60 a4 71 1e 01 8e 2f 2e 2e ae 02 a3 e7 cf 9f ff fa da ..~4.b.......T`.q.../...........
0120 b5 6b df 01 03 80 d0 ac 30 18 8d 1e 79 eb f4 e9 4f de 89 74 f5 f4 f6 44 22 ed a5 62 11 a7 d3 49 .k......0...y...O..t...D"..b...I
0140 28 18 c4 ed f1 b4 4f dc b8 f5 99 a6 eb 89 f1 f1 2f 6f 4f 4d dd b6 d7 56 55 09 08 6c a9 69 65 7d (.....O........./oOM...VU..l.ie}
0160 3d d5 02 ec 05 96 1d 8d 16 fc a7 4e 8d bc 3d 38 b8 ef 84 e2 69 71 d5 ea 25 4c bb 46 41 cf 53 ae =..........N..=8....iq..%L.FA.S.
0180 54 b1 b6 b6 f0 fa 02 af fb 03 c1 97 8f 1c 39 b6 fb cc 99 8f 3d 7b f7 f6 84 e6 e6 e6 3e 95 5d b2 T.............9.....={......>.].
01a0 2c 49 92 b4 b1 b1 76 f7 c2 85 0b b1 26 d0 9b 4e a7 03 d9 ac 56 ab 54 64 cb ed 6e 11 0c c3 b0 75 ,I....v.....&..N....V.Td..n....u
01c0 3d 6f 16 0a 05 bb 5e b7 6c 00 59 96 d1 b4 4c a0 54 0c 87 32 99 9c 43 14 c5 b0 51 af 02 50 2a 55 =o....^.l.Y...L.T..2..C...Q..P*U
01e0 c2 80 dc 04 b6 8d 8f 5f de 98 9e be 7d fd c0 81 03 e1 ae ae 2e df c2 c2 82 1e 8b c5 d2 93 93 93 ......._....}...................
0200 7a 3e 9f 37 1b d2 58 40 ef d8 d8 58 b7 2c 4b 48 92 88 fd af 19 1c 4d 0d 05 a0 e2 76 bb a7 a3 d1 z>.7..X@...X.,KH......M....v....
0220 68 e6 e0 c1 83 bd 8a a2 3c e7 f5 7a b3 86 61 2c cd cc cc ac e6 f3 f9 2a 50 05 42 80 33 1e 8f 97 h.......<..z..a,.......*P.B.3...
0240 fa fa fa 7c 2e a7 4b 04 28 57 ca b5 64 32 61 36 a9 00 75 97 cb a5 45 a3 d1 95 fe fe 7e 77 a1 50 ...|..K.(W..d2a6..u...E.....~w.P
0260 f0 a6 57 6f ed fe e8 cd 3f f7 bf 3b 9c cd c7 e7 48 9c b9 c8 c4 e8 e8 e8 ab 23 23 23 c7 44 51 dc ..Wo....?..;....H........###.DQ.
0280 15 0a 85 04 49 92 00 b8 79 f3 a6 71 e7 ce 9d 2c 60 39 1a a6 b4 01 4b 51 14 d3 e9 74 5a c5 62 d1 ....I...y..q...,`9....KQ...tZ.b.
02a0 55 2b 6f 75 ba e5 ec f0 4a de da b8 fe 13 8f 80 96 48 24 d2 11 f0 fb fb bf f9 f6 3a aa 9a 46 51 U+ou....J........H$........:..FQ
02c0 dc 9c 3c 79 1c 41 10 d4 a5 a5 a5 79 a0 f2 94 b1 0d c3 90 54 55 75 a7 52 a9 40 6a b3 b4 cb a8 09 ..<y.A.....y.......TUu.R.@j.....
02e0 d6 d5 1f c5 c5 9f ff 60 11 58 11 04 2c d3 ac e3 89 4e 13 f2 3f c4 55 6e a3 5e 3e 4a b0 b5 35 59 .......`.X..,....N..?.Un.^>J..5Y
0300 af d7 7f 07 f2 4f 01 75 5d 77 e6 f3 f9 40 2a 95 0a ff 3d 5f 73 87 9d b6 b4 af cf 1a fc ed 2e bf .....O.u]w...@*...=_s...........
0320 ac 6c e2 30 4d 4b ec ee e9 e1 83 c2 57 db 2f 4e 96 65 f4 6c b6 04 e8 40 6d 27 50 d0 34 cd d5 d6 .l.0MK......W./N.e.l...@m'P.4...
0340 d6 46 67 67 c7 e6 d0 0b bb 1c cb 8f 5d f6 d5 1b 42 71 35 23 1d 06 73 79 6a 2a e6 69 0d b6 53 ab .Fgg........]...Bq5#..syj*.i..S.
0360 d6 b6 2f 49 92 c4 ec 6c dc 02 4c c0 7e 0a a8 28 4a 3d 12 89 e8 d5 6a 55 5f 90 f7 54 97 d4 ce b8 ../I...l..L.~..(J=....jU_..T....
0380 56 98 5d 87 f2 8b a2 28 7e b8 b6 b6 de b9 a9 aa fc 37 32 99 f4 f6 7c 27 d0 0a 87 c3 95 50 28 54 V.]....(~........72...|'.....P(T
03a0 ae 56 ab c6 c0 d0 e1 44 d6 10 17 7e 8d 3d 5e d6 ee df bf 67 0b c2 7b 60 bd 21 cb 12 a5 52 79 fb .V.....D...~.=^....g..{`.!...Ry.
03c0 92 cb e5 44 51 5a b6 d7 62 c3 87 a2 65 59 b2 aa aa 72 2e 97 73 59 96 25 b4 b7 b7 17 87 86 86 b4 ...DQZ..b...eY...r..sY.%........
03e0 81 81 81 4d e0 21 b6 3d e1 76 bb 1f ac ad a5 d8 dc 4c 33 33 33 47 2e 97 67 7e 7e 19 d3 b4 68 38 ...M.!.=.v.......L333G..g~~...h8
0400 65 bb 42 d7 fe fd c3 87 56 57 55 8f 20 c4 83 7e ff 2e 5f 3a 9d d1 93 c9 d5 43 c3 c3 af 65 fa fb e.B.....VWU....~.._:.....C...e..
0420 f7 99 e9 b4 1a 30 8c 6c 87 cf a7 50 2e 57 08 87 83 38 9d 0e 82 ad 7e 34 3d 03 4f fe 4a bb e9 c3 .....0.l...P.W...8....~4=.O.J...
0440 9c cf 17 70 2c 2d 25 06 13 89 84 e8 74 3a a8 d5 6a de 4a a5 da 55 ad d6 b1 6d 1b 49 72 f8 4d d3 ...p,-%.....t:..j.J..U...m.Ir.M.
0460 6a cb 64 34 6c db 26 97 33 10 45 28 16 cb 68 5a da 03 74 01 2b 42 a3 ed 3d c0 2b 40 3b 20 3d a3 j.d4l.&.3.E(..hZ..t.+B..=.+@;.=.
0480 fa 93 f0 87 42 a1 81 de de de 0e c0 16 45 b1 06 b6 2d 49 62 59 d3 b4 7b b3 b3 73 13 40 bc f9 b2 ....B........E...-IbY..{..s.@...
04a0 65 c0 d3 90 40 f8 1f a0 d0 c8 13 81 5a 63 c0 13 bb 54 80 12 60 fe 03 29 45 0d e7 43 6e 21 57 00 e...@.......Zc...T..`..)E..Cn!W.
04c0 00 00 00 49 45 4e 44 ae 42 60 82 ...IEND.B`.
a id='n261' href='#n261'>261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308
package standalone; # $Id$

use c;
use strict;
use common qw(N N_ if_);
use Config;

#- for sanity (if a use standalone is made during install, MANY problems will happen)
require 'log.pm'; #- "require log" causes some pb, perl thinking that "log" is the log() function
if ($::isInstall) {
    log::l('ERROR: use standalone made during install :-(');
    log::l('backtrace: ' . backtrace());
}
$::isStandalone = 1;

$ENV{SHARE_PATH} ||= "/usr/share";

c::setlocale();
c::bindtextdomain('libDrakX', "/usr/share/locale");

$::license = N_("This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
");

my $progname = common::basename($0);

my %usages = (
           'diskdrake' => "[--{" . join(",", qw(hd nfs smb dav removable fileshare)) . "}]",
           'drakbackup' => N_("[--config-info] [--daemon] [--debug] [--default] [--show-conf]
Backup and Restore application

--default             : save default directories.
--debug               : show all debug messages.
--show-conf           : list of files or directories to backup.
--config-info         : explain configuration file options (for non-X users).
--daemon              : use daemon configuration. 
--help                : show this message.
--version             : show version number.
"),

           'drakboot' => N_("[--boot] [--splash]
OPTIONS:
  --boot            - enable to configure boot loader
  --splash          - enable to configure boot theme
default mode: offer to configure autologin feature"),
           'drakbug' => N_("[OPTIONS] [PROGRAM_NAME]

OPTIONS:
  --help            - print this help message.
  --report          - program should be one of mandrakelinux tools
  --incident        - program should be one of mandrakelinux tools"),
           'drakconnect' => N_("[--add]
  --add             - \"add a network interface\" wizard
  --del             - \"delete a network interface\" wizard
  --skip-wizard     - manage connections
  --internet        - configure internet
  --wizard          - like --add"),
           'drakfont' => N_("
Font Importation and monitoring application

OPTIONS:
--windows_import : import from all available windows partitions.
--xls_fonts      : show all fonts that already exist from xls
--install        : accept any font file and any directory.
--uninstall      : uninstall any font or any directory of font.
--replace        : replace all font if already exist
--application    : 0 none application.
                 : 1 all application available supported.
                 : name_of_application like  so for staroffice 
                 : and gs for ghostscript for only this one."),
           'draksec' => "[--debug]
--debug: print debugging information",
           'drakTermServ' => N_("[OPTIONS]...
Mandrakelinux Terminal Server Configurator
--enable         : enable MTS
--disable        : disable MTS
--start          : start MTS
--stop           : stop MTS
--adduser        : add an existing system user to MTS (requires username)
--deluser        : delete an existing system user from MTS (requires username)
--addclient      : add a client machine to MTS (requires MAC address, IP, nbi image name)
--delclient      : delete a client machine from MTS (requires MAC address, IP, nbi image name)"),
	      'drakxtv' => "[--no-guess]",
	      'drakupdate_fstab' => " [--add | --del] <device>\n",
	      'keyboardrake' => N_("[keyboard]"),
           'logdrake' => N_("[--file=myfile] [--word=myword] [--explain=regexp] [--alert]"),
           'net_monitor' => N_("[OPTIONS]
Network & Internet connection and monitoring application

--defaultintf interface : show this interface by default
--connect : connect to internet if not already connected
--disconnect : disconnect to internet if already connected
--force : used with (dis)connect : force (dis)connection.
--status : returns 1 if connected 0 otherwise, then exit.
--quiet : do not be interactive. To be used with (dis)connect."),
	      'printerdrake' => N_(" [--skiptest] [--cups] [--lprng] [--lpd] [--pdq]"),
	      'rpmdrake' => N_("[OPTION]...
  --no-confirmation      do not ask first confirmation question in MandrakeUpdate mode
  --no-verify-rpm        do not verify packages signatures
  --changelog-first      display changelog before filelist in the description window
  --merge-all-rpmnew     propose to merge all .rpmnew/.rpmsave files found"),
           'scannerdrake' => N_("[--manual] [--device=dev] [--update-sane=sane_source_dir] [--update-usbtable] [--dynamic=dev]"),
	      'XFdrake' => N_(" [everything]
       XFdrake [--noauto] monitor
       XFdrake resolution"),
	      );

$usages{$_} = $usages{rpmdrake} foreach qw(rpmdrake-remove MandrakeUpdate);
$usages{Xdrakres} = $usages{XFdrake};


sub exit {
    explanations('### Program is exiting ###');
    CORE::exit(@_);
}

sub __exit {
    explanations('### Program is exiting ###');
    c::_exit(@_);
}



sub version() {
    print 'Drakxtools version 10
Copyright (C) 1999-2004 Mandrakesoft by <install@mandrakesoft.com>
',  $::license, "\n";
}

my ($i, @new_ARGV);
foreach (@ARGV) {
    $i++;
    if (/^-(-help|h)$/) {
	version();
	print N("\nUsage: %s  [--auto] [--beginner] [--expert] [-h|--help] [--noauto] [--testing] [-v|--version] ", $progname),
       if_($usages{$progname}, common::translate($usages{$progname})), "\n";
#    print N("\nUsage: "), $::usage, "\n" if $::usage;
	CORE::exit(0);
    } elsif (/^-(-version|v)$/) {
	version();
	CORE::exit(0);
    } elsif (/^--embedded$/) {
	$::XID = splice @ARGV, $i, 1;
	$::isEmbedded = 1;
    } elsif (/^--expert$/) {
	$::expert = 1;
    } elsif (/^--noauto$/) {
	$::noauto = /-noauto/;
    } elsif (/^--auto$/) {
	$::auto = 1;
    } elsif (/^--testing$/) {
	$::testing = 1;
    } elsif (/^--beginner$/) {
	$::expert = 0;
    } else {
	push @new_ARGV, $_;
    }
}

@ARGV = @new_ARGV;


################################################################################

#- stuff will go to special /var/log/explanations file
my $standalone_name;
sub explanations { log::explanations("@_") }

our @common_functs = qw(renamef linkf symlinkf output substInFile mkdir_p rm_rf cp_af touch setVarsInSh setExportedVarsInSh setExportedVarsInCsh update_gnomekderc);
our @builtin_functs = qw(chmod chown __exit exit unlink link symlink rename system);
our @drakx_modules = qw(Xconfig::card Xconfig::default Xconfig::main Xconfig::monitor Xconfig::parse Xconfig::proprietary Xconfig::resolution_and_depth Xconfig::screen Xconfig::test Xconfig::various Xconfig::xfree any bootloader bootlook c class_discard commands crypto detect_devices devices diskdrake diskdrake::hd_gtk diskdrake::interactive diskdrake::removable diskdrake::removable_gtk diskdrake::smbnfs_gtk fs fsedit http keyboard lang log loopback lvm modules::parameters modules mouse my_gtk network network::adsl network::ethernet network::isdn_consts network::isdn network::modem network::netconnect network::network network::nfs network::smb network::tools partition_table partition_table_bsd partition_table::dos partition_table::empty partition_table::gpt partition_table::mac partition_table::raw partition_table::sun printer printerdrake proxy raid run_program scanner services steps swap timezone network::drakfirewall network::shorewall);