summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/rescue-gui.c
blob: e9cd2495e5c4ae5764facadf47bacee2585d4329 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
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
/*
 * Guillaume Cottenceau (gc@mandriva.com)
 *
 * Copyright 2001 Mandriva
 *
 *
 * This software may be freely redistributed under the terms of the GNU
 * public license.
 *
 * 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., 675 Mass Ave, Cambridge, MA 02139, USA.
 *
 */

#include <stdlib.h>
#define _USE_BSD
#include <sys/types.h>
#include <sys/time.h>
#include <sys/resource.h>
#include <sys/wait.h>
#include <unistd.h>
#include <string.h>
#include <stdio.h>
#include <sys/mount.h>
#include <fcntl.h>
#include <sys/ioctl.h>
#include <linux/unistd.h>
#include <sys/select.h>

#include "config-stage1.h"
#include "frontend.h"
#include "utils.h"
#include "params.h"

#include <sys/syscall.h>

#define LINUX_REBOOT_MAGIC1	0xfee1dead
#define LINUX_REBOOT_MAGIC2	672274793
#define BMAGIC_REBOOT		0x01234567

static inline long reboot(void)
{
	return (long) syscall(__NR_reboot, LINUX_REBOOT_MAGIC1, LINUX_REBOOT_MAGIC2, BMAGIC_REBOOT, 0);
}

#if defined(__i386__) || defined(__x86_64__)
#define ENABLE_RESCUE_MS_BOOT 1
#endif

char * env[] = {
	"PATH=/usr/bin:/bin:/sbin:/usr/sbin:/mnt/sbin:/mnt/usr/sbin:/mnt/bin:/mnt/usr/bin",
	"LD_LIBRARY_PATH=/lib:/usr/lib:/mnt/lib:/mnt/usr/lib:/usr/X11R6/lib:/mnt/usr/X11R6/lib"
#if defined(__x86_64__) || defined(__ppc64__)
	":/lib64:/usr/lib64:/usr/X11R6/lib64:/mnt/lib64:/mnt/usr/lib64:/mnt/usr/X11R6/lib64"
#endif
	,
	"HOME=/",
	"TERM=linux",
	"TERMINFO=/etc/terminfo",
	NULL
};

/* pause() already exists and causes the invoking process to sleep
   until a signal is received */
static void PAUSE(void) {
  unsigned char t;
  fflush(stdout);
  read(0, &t, 1);
}


/* ------ UUURGH this is duplicated from `init.c', don't edit here........ */
void fatal_error(char *msg)
{
	printf("FATAL ERROR IN RESCUE: %s\n\nI can't recover from this.\nYou may reboot your system.\n", msg);
	while (1);
}

#define LOOP_CLR_FD	0x4C01
void del_loop(char *device) 
{
	int fd;
	if ((fd = open(device, O_RDONLY, 0)) < 0) {
		printf("del_loop open failed\n");
		return;
	}

	if (ioctl(fd, LOOP_CLR_FD, 0) < 0) {
		printf("del_loop ioctl failed");
		return;
	}

	close(fd);
}
struct filesystem { char * dev; char * name; char * fs; int mounted; };
void unmount_filesystems(void)
{
	int fd, size;
	char buf[65535];			/* this should be big enough */
	char *p;
	struct filesystem fs[500];
	int numfs = 0;
	int i, nb;
	
	printf("unmounting filesystems...\n"); 
	
	fd = open("/proc/mounts", O_RDONLY, 0);
	if (fd < 1) {
		printf("ERROR: failed to open /proc/mounts");
		sleep(2);
		return;
	}

	size = read(fd, buf, sizeof(buf) - 1);
	buf[size] = '\0';

	close(fd);

	p = buf;
	while (*p) {
		fs[numfs].mounted = 1;
		fs[numfs].dev = p;
		while (*p != ' ') p++;
		*p++ = '\0';
		fs[numfs].name = p;
		while (*p != ' ') p++;
		*p++ = '\0';
		fs[numfs].fs = p;
		while (*p != ' ') p++;
		*p++ = '\0';
		while (*p != '\n') p++;
		p++;
		if (strcmp(fs[numfs].name, "/") != 0) numfs++; /* skip if root, no need to take initrd root in account */
	}

	/* Pixel's ultra-optimized sorting algorithm:
	   multiple passes trying to umount everything until nothing moves
	   anymore (a.k.a holy shotgun method) */
	do {
		nb = 0;
		for (i = 0; i < numfs; i++) {
			/*printf("trying with %s\n", fs[i].name);*/
			if (fs[i].mounted && umount(fs[i].name) == 0) { 
				if (strncmp(fs[i].dev + sizeof("/dev/") - 1, "loop",
					    sizeof("loop") - 1) == 0)
					del_loop(fs[i].dev);
				
				printf("\t%s\n", fs[i].name);
				fs[i].mounted = 0;
				nb++;
			}
		}
	} while (nb);
	
	for (i = nb = 0; i < numfs; i++)
		if (fs[i].mounted) {
			printf("\t%s umount failed\n", fs[i].name);
			if (strcmp(fs[i].fs, "ext2") == 0) nb++; /* don't count not-ext2 umount failed */
		}
	
	if (nb) {
		printf("failed to umount some filesystems\n");
		while (1);
	}
}
/* ------ UUURGH -- end */


/* ------ UUURGH -- this is dirrrrrttttyyyyyy */
void probe_that_type(void) {}
void exit_bootsplash(void) {}


int main(int argc __attribute__ ((unused)), char **argv __attribute__ ((unused)))
{
	enum return_type results;

	char install_bootloader[] = "Re-install Boot Loader";
#if ENABLE_RESCUE_MS_BOOT
	char restore_ms_boot[] = "Restore Windows Boot Loader";
#endif
	char mount_parts[] = "Mount your partitions under /mnt";
	char go_to_console[] = "Go to console";
	char reboot_[] = "Reboot";
	char doc[] = "Doc: what's addressed by this Rescue?";

	char upgrade[] = "Upgrade to New Version";
	char rootpass[] = "Reset Root Password";
	char userpass[] = "Reset User Password";
	char factory[] = "Reset to Factory Defaults";
	char backup[] = "Backup User Files";
	char restore[] = "Restore User Files from Backup";
	char badblocks[] = "Test Key for Badblocks";

	char * actions_default[] = { install_bootloader,
#if ENABLE_RESCUE_MS_BOOT
			             restore_ms_boot,
#endif
			             mount_parts, go_to_console, reboot_, doc, NULL };
	char * actions_flash_rescue[] = { rootpass, userpass, factory, backup, restore,
					  badblocks, go_to_console, reboot_, NULL };
	char * actions_flash_upgrade[] = { upgrade, go_to_console, reboot_, NULL };


	char * flash_mode;
	char ** actions;
	char * choice;

	process_cmdline();
	flash_mode = get_param_valued("flash");
	actions = !flash_mode ?
	    actions_default :
	    streq(flash_mode, "upgrade") ? actions_flash_upgrade : actions_flash_rescue;

	init_frontend("Welcome to " DISTRIB_NAME " Rescue (" DISTRIB_VERSION ") " __DATE__ " " __TIME__);

	do {
		int pid;
		char * binary = NULL;

		choice = "";
		results = ask_from_list("Please choose the desired action.", actions, &choice);

		if (ptr_begins_static_str(choice, install_bootloader)) {
			binary = "/usr/bin/install_bootloader";
		}
#if ENABLE_RESCUE_MS_BOOT
		if (ptr_begins_static_str(choice, restore_ms_boot)) {
			binary = "/usr/bin/restore_ms_boot";
		}
#endif
		if (ptr_begins_static_str(choice, mount_parts)) {
			binary = "/usr/bin/guessmounts";
		}
		if (ptr_begins_static_str(choice, reboot_)) {
			finish_frontend();
                        sync(); sync();
                        sleep(2);
			unmount_filesystems();
                        sync(); sync();
			printf("rebooting system\n");
			sleep(2);
			reboot();
		}
		if (ptr_begins_static_str(choice, doc)) {
			binary = "/usr/bin/rescue-doc";
		}

		/* Mandriva Flash entries */
		if (ptr_begins_static_str(choice, rootpass)) {
			binary = "/usr/bin/reset_rootpass";
		}
		if (ptr_begins_static_str(choice, userpass)) {
			binary = "/usr/bin/reset_userpass";
		}
		if (ptr_begins_static_str(choice, factory)) {
			binary = "/usr/bin/clear_systemloop";
		}
		if (ptr_begins_static_str(choice, backup)) {
			binary = "/usr/bin/backup_systemloop";
		}
		if (ptr_begins_static_str(choice, restore)) {
			binary = "/usr/bin/restore_systemloop";
		}
		if (ptr_begins_static_str(choice, badblocks)) {
			binary = "/usr/bin/test_badblocks";
		}
		if (ptr_begins_static_str(choice, upgrade)) {
			binary = "/usr/bin/upgrade";
		}

		if (binary) {
			int wait_status;
			suspend_to_console();
			if (!(pid = fork())) {

				char * child_argv[2];
				child_argv[0] = binary;
				child_argv[1] = NULL;

				execve(child_argv[0], child_argv, env);
				printf("Can't execute binary (%s)\n<press Enter>\n", binary);
				PAUSE();

				return 33;
			}
			while (wait4(-1, &wait_status, 0, NULL) != pid) {};
			printf("<press Enter to return to Rescue menu>");
			PAUSE();
			resume_from_suspend();
			if (!WIFEXITED(wait_status) || WEXITSTATUS(wait_status) != 0) {
				error_message("Program exited abnormally (return code %d).", WEXITSTATUS(wait_status));
				if (WIFSIGNALED(wait_status))
					error_message("(received signal %d)", WTERMSIG(wait_status));
			}
		}

	} while (results == RETURN_OK && !ptr_begins_static_str(choice, go_to_console));

	finish_frontend();
	printf("Bye.\n");
	
	return 0;
}
der the terms of the GNU "
"GPL.\n"
"\n"
diff --git a/perl-install/share/po/bs.po b/perl-install/share/po/bs.po
index 3d5e13a29..875a3ba1d 100644
--- a/perl-install/share/po/bs.po
+++ b/perl-install/share/po/bs.po
@@ -21745,14 +21745,14 @@ msgstr ""
#, c-format
msgid ""
" drakhelp 0.1\n"
-"Copyright (C) 2003-2004 Mandriva.\n"
+"Copyright (C) 2003-2005 Mandriva.\n"
"This is free software and may be redistributed under the terms of the GNU "
"GPL.\n"
"\n"
"Usage: \n"
msgstr ""
" drakhelp 0.1\n"
-"Copyright (C) 2003-2004 Mandriva.\n"
+"Copyright (C) 2003-2005 Mandriva.\n"
"Ovo je slobodan softver i može se distribuirati pod uslovima GNU GPLa.\n"
"\n"
"Upotreba: \n"
diff --git a/perl-install/share/po/ca.po b/perl-install/share/po/ca.po
index ebc8cab4e..ab19f1b25 100644
--- a/perl-install/share/po/ca.po
+++ b/perl-install/share/po/ca.po
@@ -21950,14 +21950,14 @@ msgstr ""
#, c-format
msgid ""
" drakhelp 0.1\n"
-"Copyright (C) 2003-2004 Mandriva.\n"
+"Copyright (C) 2003-2005 Mandriva.\n"
"This is free software and may be redistributed under the terms of the GNU "
"GPL.\n"
"\n"
"Usage: \n"
msgstr ""
" drakhelp 0.1\n"
-"Copyright (C) 2003-2004 Mandriva.\n"
+"Copyright (C) 2003-2005 Mandriva.\n"
"Aquest programa és programari lliure i pot ser redistribuït sota els termes "
"de la GNU GPL.\n"
"\n"
diff --git a/perl-install/share/po/cs.po b/perl-install/share/po/cs.po
index 433b636d0..c47968bd2 100644
--- a/perl-install/share/po/cs.po
+++ b/perl-install/share/po/cs.po
@@ -21693,14 +21693,14 @@ msgstr ""
#, c-format
msgid ""
" drakhelp 0.1\n"
-"Copyright (C) 2003-2004 Mandriva.\n"
+"Copyright (C) 2003-2005 Mandriva.\n"
"This is free software and may be redistributed under the terms of the GNU "
"GPL.\n"
"\n"
"Usage: \n"
msgstr ""
" drakhelp 0.1\n"
-"Copyright ©2003-2004 Mandriva.\n"
+"Copyright ©2003-2005 Mandriva.\n"
"Toto je svobodný software a je šířen pod licencí GNU GPL.\n"
"\n"
"Použití: \n"
diff --git a/perl-install/share/po/cy.po b/perl-install/share/po/cy.po
index 0687b0862..29872db51 100644
--- a/perl-install/share/po/cy.po
+++ b/perl-install/share/po/cy.po
@@ -21734,14 +21734,14 @@ msgstr ""
#, c-format
msgid ""
" drakhelp 0.1\n"
-"Copyright (C) 2003-2004 Mandriva.\n"
+"Copyright (C) 2003-2005 Mandriva.\n"
"This is free software and may be redistributed under the terms of the GNU "
"GPL.\n"
"\n"
"Usage: \n"
msgstr ""
" drakhelp 0.1\n"
-"Hawlfraint (C) 2003-2004 Mandriva.\n"
+"Hawlfraint (C) 2003-2005 Mandriva.\n"
"Mae hwn yn feddalwedd rhydd ac mae modd ei ailddosbarthu o dan amodau GNU "
"GPL.\n"
"\n"
diff --git a/perl-install/share/po/da.po b/perl-install/share/po/da.po
index 19a88cf1e..3910f2ce5 100644
--- a/perl-install/share/po/da.po
+++ b/perl-install/share/po/da.po
@@ -21659,14 +21659,14 @@ msgstr ""
#, c-format
msgid ""
" drakhelp 0.1\n"
-"Copyright (C) 2003-2004 Mandriva.\n"
+"Copyright (C) 2003-2005 Mandriva.\n"
"This is free software and may be redistributed under the terms of the GNU "
"GPL.\n"
"\n"
"Usage: \n"
msgstr ""
" drakhelp 0.1\n"
-"Copyright © 2003-2004 Mandriva.\n"
+"Copyright © 2003-2005 Mandriva.\n"
"Dette er frit programmel og kan redistribueres under betingelserne i GNU "
"GPL.\n"
"\n"
diff --git a/perl-install/share/po/de.po b/perl-install/share/po/de.po
index 45b2be32b..dbf400c06 100644
--- a/perl-install/share/po/de.po
+++ b/perl-install/share/po/de.po
@@ -22044,14 +22044,14 @@ msgstr ""
#, c-format
msgid ""
" drakhelp 0.1\n"
-"Copyright (C) 2003-2004 Mandriva.\n"
+"Copyright (C) 2003-2005 Mandriva.\n"
"This is free software and may be redistributed under the terms of the GNU "
"GPL.\n"
"\n"
"Usage: \n"
msgstr ""
" drakhelp 0.1\n"
-"Copyright © 2003-2004 Mandriva.\n"
+"Copyright © 2003-2005 Mandriva.\n"
"Dies ist freie Software und kann unter der den Bedingungen der GNU GPL "
"weitergegeben werden.\n"
"\n"
diff --git a/perl-install/share/po/el.po b/perl-install/share/po/el.po
index 84ea8e795..b7ad3d728 100644
--- a/perl-install/share/po/el.po
+++ b/perl-install/share/po/el.po
@@ -20821,7 +20821,7 @@ msgstr ""
#, c-format
msgid ""
" drakhelp 0.1\n"
-"Copyright (C) 2003-2004 Mandriva.\n"
+"Copyright (C) 2003-2005 Mandriva.\n"
"This is free software and may be redistributed under the terms of the GNU "
"GPL.\n"
"\n"
diff --git a/perl-install/share/po/eo.po b/perl-install/share/po/eo.po
index f40a3f3af..db363d03d 100644
--- a/perl-install/share/po/eo.po
+++ b/perl-install/share/po/eo.po
@@ -19437,7 +19437,7 @@ msgstr ""
#, c-format
msgid ""
" drakhelp 0.1\n"
-"Copyright (C) 2003-2004 Mandriva.\n"
+"Copyright (C) 2003-2005 Mandriva.\n"
"This is free software and may be redistributed under the terms of the GNU "
"GPL.\n"
"\n"
diff --git a/perl-install/share/po/es.po b/perl-install/share/po/es.po
index 992251ebc..68b29861e 100644
--- a/perl-install/share/po/es.po
+++ b/perl-install/share/po/es.po
@@ -22039,14 +22039,14 @@ msgstr ""
#, c-format
msgid ""
" drakhelp 0.1\n"
-"Copyright (C) 2003-2004 Mandriva.\n"
+"Copyright (C) 2003-2005 Mandriva.\n"
"This is free software and may be redistributed under the terms of the GNU "
"GPL.\n"
"\n"
"Usage: \n"
msgstr ""
"drakhelp 0.1\n"
-"Copyright (C) 2003-2004 Mandriva.\n"
+"Copyright (C) 2003-2005 Mandriva.\n"
"Esto es software libre y puede redistribuirse bajo los términos de la GNU "
"GPL.\n"
"\n"
diff --git a/perl-install/share/po/et.po b/perl-install/share/po/et.po
index 986825c4b..865e13946 100644
--- a/perl-install/share/po/et.po
+++ b/perl-install/share/po/et.po
@@ -21670,14 +21670,14 @@ msgstr ""
#, c-format
msgid ""
" drakhelp 0.1\n"
-"Copyright (C) 2003-2004 Mandriva.\n"
+"Copyright (C) 2003-2005 Mandriva.\n"
"This is free software and may be redistributed under the terms of the GNU "
"GPL.\n"
"\n"
"Usage: \n"
msgstr ""
" drakhelp 0.1\n"
-"Autoriõigus © 2003-2004: Mandriva.\n"
+"Autoriõigus © 2003-2005: Mandriva.\n"
"See on vaba tarkvara, mida võib levitada vastavalt GNU Üldise Avaliku "
"Litsentsi tingimustele.\n"
"\n"
diff --git a/perl-install/share/po/eu.po b/perl-install/share/po/eu.po
index 1995055f0..c875cb264 100644
--- a/perl-install/share/po/eu.po
+++ b/perl-install/share/po/eu.po
@@ -21869,14 +21869,14 @@ msgstr ""
#, c-format
msgid ""
" drakhelp 0.1\n"
-"Copyright (C) 2003-2004 Mandriva.\n"
+"Copyright (C) 2003-2005 Mandriva.\n"
"This is free software and may be redistributed under the terms of the GNU "
"GPL.\n"
"\n"
"Usage: \n"
msgstr ""
"drakhelp 0.1\n"
-"Copyright (C) 2003-2004 Mandriva.\n"
+"Copyright (C) 2003-2005 Mandriva.\n"
"Software librea da, eta birbana daiteke GNU GPL lizentziaren baldintzak "
"betetzen badira.\n"
"\n"
diff --git a/perl-install/share/po/fa.po b/perl-install/share/po/fa.po
index c3ca8d94d..285b8ddfc 100644
--- a/perl-install/share/po/fa.po
+++ b/perl-install/share/po/fa.po
@@ -21603,14 +21603,14 @@ msgstr ""
#, c-format
msgid ""
" drakhelp 0.1\n"
-"Copyright (C) 2003-2004 Mandriva.\n"
+"Copyright (C) 2003-2005 Mandriva.\n"
"This is free software and may be redistributed under the terms of the GNU "
"GPL.\n"
"\n"
"Usage: \n"
msgstr ""
" drakhelp 0.1\n"
-"Copyright (C) 2003-2004 Mandriva.\n"
+"Copyright (C) 2003-2005 Mandriva.\n"
"این یک نرم‌افزار آزاد بوده و ممکن است تحت شروط GNU GPL انتشار مجدد گردد.\n"
"\n"
"طرز استفاده: \n"
diff --git a/perl-install/share/po/fi.po b/perl-install/share/po/fi.po
index 30dcbbd15..65a293084 100644
--- a/perl-install/share/po/fi.po
+++ b/perl-install/share/po/fi.po
@@ -21906,14 +21906,14 @@ msgstr ""
#, c-format
msgid ""
" drakhelp 0.1\n"
-"Copyright (C) 2003-2004 Mandriva.\n"
+"Copyright (C) 2003-2005 Mandriva.\n"
"This is free software and may be redistributed under the terms of the GNU "
"GPL.\n"
"\n"
"Usage: \n"
msgstr ""
" drakhelp 0.1\n"
-"Copyright (C) 2003-2004 Mandriva.\n"
+"Copyright (C) 2003-2005 Mandriva.\n"
"Tämä on vapaa ohjelmisto ja voit levittää sitä GNU GPL -lisenssin "
"mukaisesti.\n"
"\n"
diff --git a/perl-install/share/po/fr.po b/perl-install/share/po/fr.po
index 0833a6f5c..d6e7a62b0 100644
--- a/perl-install/share/po/fr.po
+++ b/perl-install/share/po/fr.po
@@ -22148,14 +22148,14 @@ msgstr ""
#, c-format
msgid ""
" drakhelp 0.1\n"
-"Copyright (C) 2003-2004 Mandriva.\n"
+"Copyright (C) 2003-2005 Mandriva.\n"
"This is free software and may be redistributed under the terms of the GNU "
"GPL.\n"
"\n"
"Usage: \n"
msgstr ""
" drakhelp 0.1\n"
-"Copyright © 2003-2004 Mandriva.\n"
+"Copyright © 2003-2005 Mandriva.\n"
"Ce programme est un logiciel libre et peut être redistribué selon les\n"
"termes de la licence GNU GPL.\n"
"\n"
diff --git a/perl-install/share/po/fur.po b/perl-install/share/po/fur.po
index ca5103aff..aa08d6979 100644
--- a/perl-install/share/po/fur.po
+++ b/perl-install/share/po/fur.po
@@ -18828,7 +18828,7 @@ msgstr ""
#, c-format
msgid ""
" drakhelp 0.1\n"
-"Copyright (C) 2003-2004 Mandriva.\n"
+"Copyright (C) 2003-2005 Mandriva.\n"
"This is free software and may be redistributed under the terms of the GNU "
"GPL.\n"
"\n"
diff --git a/perl-install/share/po/ga.po b/perl-install/share/po/ga.po
index ee9ba5c06..37176623f 100644
--- a/perl-install/share/po/ga.po
+++ b/perl-install/share/po/ga.po
@@ -18868,7 +18868,7 @@ msgstr ""
#, c-format
msgid ""
" drakhelp 0.1\n"
-"Copyright (C) 2003-2004 Mandriva.\n"
+"Copyright (C) 2003-2005 Mandriva.\n"
"This is free software and may be redistributed under the terms of the GNU "
"GPL.\n"
"\n"
diff --git a/perl-install/share/po/gl.po b/perl-install/share/po/gl.po
index 28058943d..a1c7646c8 100644
--- a/perl-install/share/po/gl.po
+++ b/perl-install/share/po/gl.po
@@ -20174,14 +20174,14 @@ msgstr ""
#, c-format
msgid ""
" drakhelp 0.1\n"
-"Copyright (C) 2003-2004 Mandriva.\n"
+"Copyright (C) 2003-2005 Mandriva.\n"
"This is free software and may be redistributed under the terms of the GNU "
"GPL.\n"
"\n"
"Usage: \n"
msgstr ""
" drakhelp 0.1\n"
-"Copyright © 2003-2004 Mandriva.\n"
+"Copyright © 2003-2005 Mandriva.\n"
"Isto é software libre e pode ser redistribuido baixo os termos da GNU GPL.\n"
"\n"
"Uso: \n"
diff --git a/perl-install/share/po/he.po b/perl-install/share/po/he.po
index 95ae66b88..051e369d3 100644
--- a/perl-install/share/po/he.po
+++ b/perl-install/share/po/he.po
@@ -20306,14 +20306,14 @@ msgstr ""
#, c-format
msgid ""
" drakhelp 0.1\n"
-"Copyright (C) 2003-2004 Mandriva.\n"
+"Copyright (C) 2003-2005 Mandriva.\n"
"This is free software and may be redistributed under the terms of the GNU "
"GPL.\n"
"\n"
"Usage: \n"
msgstr ""
" drakhelp 0.1\n"
-"Copyright (C) 2003-2004 Mandriva.\n"
+"Copyright (C) 2003-2005 Mandriva.\n"
"זוהי תוכנה חופשית ומותר להפיצה מחדש בהתאם לתנאי הרשיון GNU GPL.\n"
"\n"
"שימוש: \n"
diff --git a/perl-install/share/po/hi.po b/perl-install/share/po/hi.po
index c249e8aa4..87fc531b1 100644
--- a/perl-install/share/po/hi.po
+++ b/perl-install/share/po/hi.po
@@ -20499,7 +20499,7 @@ msgstr ""
#, c-format
msgid ""
" drakhelp 0.1\n"
-"Copyright (C) 2003-2004 Mandriva.\n"
+"Copyright (C) 2003-2005 Mandriva.\n"
"This is free software and may be redistributed under the terms of the GNU "
"GPL.\n"
"\n"
diff --git a/perl-install/share/po/hr.po b/perl-install/share/po/hr.po
index 03419586f..2433722b3 100644
--- a/perl-install/share/po/hr.po
+++ b/perl-install/share/po/hr.po
@@ -20594,7 +20594,7 @@ msgstr ""
#, c-format
msgid ""
" drakhelp 0.1\n"
-"Copyright (C) 2003-2004 Mandriva.\n"
+"Copyright (C) 2003-2005 Mandriva.\n"
"This is free software and may be redistributed under the terms of the GNU "
"GPL.\n"
"\n"
diff --git a/perl-install/share/po/hu.po b/perl-install/share/po/hu.po
index 8a3fb76e8..d6dceb92c 100644
--- a/perl-install/share/po/hu.po
+++ b/perl-install/share/po/hu.po
@@ -21978,14 +21978,14 @@ msgstr ""
#, c-format
msgid ""
" drakhelp 0.1\n"
-"Copyright (C) 2003-2004 Mandriva.\n"
+"Copyright (C) 2003-2005 Mandriva.\n"
"This is free software and may be redistributed under the terms of the GNU "
"GPL.\n"
"\n"
"Usage: \n"
msgstr ""
"DrakHelp 0.1\n"
-"Copyright (C) 2003-2004 Mandriva.\n"
+"Copyright (C) 2003-2005 Mandriva.\n"
"Ez a program szabad szoftver; a GNU GPL alapján terjeszthető.\n"
"\n"
"Használat: \n"
diff --git a/perl-install/share/po/id.po b/perl-install/share/po/id.po
index a1e9bf61c..feb975aa2 100644
--- a/perl-install/share/po/id.po
+++ b/perl-install/share/po/id.po
@@ -21919,14 +21919,14 @@ msgstr ""
#, c-format
msgid ""
" drakhelp 0.1\n"
-"Copyright (C) 2003-2004 Mandriva.\n"
+"Copyright (C) 2003-2005 Mandriva.\n"
"This is free software and may be redistributed under the terms of the GNU "
"GPL.\n"
"\n"
"Usage: \n"
msgstr ""
" drakhelp 0.1\n"
-"Hak Cipta (C) 2003-2004 Mandriva.\n"
+"Hak Cipta (C) 2003-2005 Mandriva.\n"
"Ini merupakan free software dan dapat didistribusikan ulang dibawah aturan "
"GNU GPL.\n"
"\n"
diff --git a/perl-install/share/po/is.po b/perl-install/share/po/is.po
index 8eda86b4e..03e1d1824 100644
--- a/perl-install/share/po/is.po
+++ b/perl-install/share/po/is.po
@@ -19923,14 +19923,14 @@ msgstr ""
#, c-format
msgid ""
" drakhelp 0.1\n"
-"Copyright (C) 2003-2004 Mandriva.\n"
+"Copyright (C) 2003-2005 Mandriva.\n"
"This is free software and may be redistributed under the terms of the GNU "
"GPL.\n"
"\n"
"Usage: \n"
msgstr ""
" drakhelp 0.1\n"
-"Höfundaréttur (C) 2003-2004 Mandriva.\n"
+"Höfundaréttur (C) 2003-2005 Mandriva.\n"
"þetta er frjáls hugbúnaður og má dreifa samakvæmt skilmálum GNU GPL.\n"
"\n"
"Notkun: \n"
diff --git a/perl-install/share/po/it.po b/perl-install/share/po/it.po
index 724374afc..b88602fa6 100644
--- a/perl-install/share/po/it.po
+++ b/perl-install/share/po/it.po
@@ -21948,14 +21948,14 @@ msgstr ""
#, c-format
msgid ""
" drakhelp 0.1\n"
-"Copyright (C) 2003-2004 Mandriva.\n"
+"Copyright (C) 2003-2005 Mandriva.\n"
"This is free software and may be redistributed under the terms of the GNU "
"GPL.\n"
"\n"
"Usage: \n"
msgstr ""
" drakhelp 0.1\n"
-"Copyright (C) 2003-2004 Mandriva.\n"
+"Copyright (C) 2003-2005 Mandriva.\n"
"Questo è software libero e può essere ridistributo nei termini fissati dalla "
"GPL di GNU.\n"
"\n"
diff --git a/perl-install/share/po/ja.po b/perl-install/share/po/ja.po
index 6a7b3a250..5d42bea8c 100644
--- a/perl-install/share/po/ja.po
+++ b/perl-install/share/po/ja.po
@@ -21358,14 +21358,14 @@ msgstr ""
#, c-format
msgid ""
" drakhelp 0.1\n"
-"Copyright (C) 2003-2004 Mandriva.\n"
+"Copyright (C) 2003-2005 Mandriva.\n"
"This is free software and may be redistributed under the terms of the GNU "
"GPL.\n"
"\n"
"Usage: \n"
msgstr ""
" drakhelp 0.1\n"
-"Copyright (C) 2003-2004 Mandriva.\n"
+"Copyright (C) 2003-2005 Mandriva.\n"
"This is free software and may be redistributed under the terms of the GNU "
"GPL.\n"
"\n"
diff --git a/perl-install/share/po/ko.po b/perl-install/share/po/ko.po
index 3cb2297b0..eb756ff2e 100644
--- a/perl-install/share/po/ko.po
+++ b/perl-install/share/po/ko.po
@@ -19682,7 +19682,7 @@ msgstr ""
#, c-format
msgid ""
" drakhelp 0.1\n"
-"Copyright (C) 2003-2004 Mandriva.\n"
+"Copyright (C) 2003-2005 Mandriva.\n"
"This is free software and may be redistributed under the terms of the GNU "
"GPL.\n"
"\n"
diff --git a/perl-install/share/po/ky.po b/perl-install/share/po/ky.po
index 754b6986c..b1705e497 100644
--- a/perl-install/share/po/ky.po
+++ b/perl-install/share/po/ky.po
@@ -19590,7 +19590,7 @@ msgstr ""
#, c-format
msgid ""
" drakhelp 0.1\n"
-"Copyright (C) 2003-2004 Mandriva.\n"
+"Copyright (C) 2003-2005 Mandriva.\n"
"This is free software and may be redistributed under the terms of the GNU "
"GPL.\n"
"\n"
diff --git a/perl-install/share/po/lt.po b/perl-install/share/po/lt.po
index 333eaae71..49016b420 100644
--- a/perl-install/share/po/lt.po
+++ b/perl-install/share/po/lt.po
@@ -19470,7 +19470,7 @@ msgstr ""
#, c-format
msgid ""
" drakhelp 0.1\n"
-"Copyright (C) 2003-2004 Mandriva.\n"
+"Copyright (C) 2003-2005 Mandriva.\n"
"This is free software and may be redistributed under the terms of the GNU "
"GPL.\n"
"\n"
diff --git a/perl-install/share/po/ltg.po b/perl-install/share/po/ltg.po
index e6cf517bd..696cf09e4 100644
--- a/perl-install/share/po/ltg.po
+++ b/perl-install/share/po/ltg.po
@@ -19917,7 +19917,7 @@ msgstr ""
#, c-format
msgid ""
" drakhelp 0.1\n"
-"Copyright (C) 2003-2004 Mandriva.\n"
+"Copyright (C) 2003-2005 Mandriva.\n"
"This is free software and may be redistributed under the terms of the GNU "
"GPL.\n"
"\n"
diff --git a/perl-install/share/po/lv.po b/perl-install/share/po/lv.po
index bb7ff3e0a..ef126aa54 100644
--- a/perl-install/share/po/lv.po
+++ b/perl-install/share/po/lv.po
@@ -19894,7 +19894,7 @@ msgstr ""
#, c-format
msgid ""
" drakhelp 0.1\n"
-"Copyright (C) 2003-2004 Mandriva.\n"
+"Copyright (C) 2003-2005 Mandriva.\n"
"This is free software and may be redistributed under the terms of the GNU "
"GPL.\n"
"\n"
diff --git a/perl-install/share/po/mk.po b/perl-install/share/po/mk.po
index 3d914ae73..0de59c32f 100644
--- a/perl-install/share/po/mk.po
+++ b/perl-install/share/po/mk.po
@@ -20995,7 +20995,7 @@ msgstr ""
#, c-format
msgid ""
" drakhelp 0.1\n"
-"Copyright (C) 2003-2004 Mandriva.\n"
+"Copyright (C) 2003-2005 Mandriva.\n"
"This is free software and may be redistributed under the terms of the GNU "
"GPL.\n"
"\n"
diff --git a/perl-install/share/po/mn.po b/perl-install/share/po/mn.po
index 657740ed4..522e6b392 100644
--- a/perl-install/share/po/mn.po
+++ b/perl-install/share/po/mn.po
@@ -19125,7 +19125,7 @@ msgstr "Интернэт бусад Сүлжээ."
#, c-format
msgid ""
" drakhelp 0.1\n"
-"Copyright (C) 2003-2004 Mandriva.\n"
+"Copyright (C) 2003-2005 Mandriva.\n"
"This is free software and may be redistributed under the terms of the GNU "
"GPL.\n"
"\n"
diff --git a/perl-install/share/po/ms.po b/perl-install/share/po/ms.po
index 8b05359cd..8fc5301b1 100644
--- a/perl-install/share/po/ms.po
+++ b/perl-install/share/po/ms.po
@@ -19004,14 +19004,14 @@ msgstr "Semuanya Internet on Rangkaian DHCP."
#, c-format
msgid ""
" drakhelp 0.1\n"
-"Copyright (C) 2003-2004 Mandriva.\n"
+"Copyright (C) 2003-2005 Mandriva.\n"
"This is free software and may be redistributed under the terms of the GNU "
"GPL.\n"
"\n"
"Usage: \n"
msgstr ""
" drakhelp 0.1\n"
-"Hakmilik © 2003-2004 Mandriva.\n"
+"Hakmilik © 2003-2005 Mandriva.\n"
"Ini adalah perisian percuma dan boleh disebarkan dibawah akta GNU GPL.\n"
"\n"
"penggunaan:\n"
diff --git a/perl-install/share/po/mt.po b/perl-install/share/po/mt.po
index 6fc396e62..49b8990ba 100644
--- a/perl-install/share/po/mt.po
+++ b/perl-install/share/po/mt.po