aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile3
-rw-r--r--initscripts.spec6
-rw-r--r--po/Makefile60
-rw-r--r--po/es.po904
-rw-r--r--po/initscripts.pot530
-rw-r--r--po/pt_BR.po908
-rw-r--r--po/xgettext_sh27
-rw-r--r--po/xgettext_sh.py93
-rwxr-xr-xrc.d/init.d/functions128
-rwxr-xr-xrc.d/init.d/halt21
-rwxr-xr-xrc.d/init.d/netfs30
-rwxr-xr-xrc.d/init.d/network30
-rwxr-xr-xrc.d/init.d/random6
-rwxr-xr-xrc.d/init.d/rawdevices24
-rwxr-xr-xrc.d/init.d/single11
-rwxr-xr-xrc.d/rc14
-rwxr-xr-xrc.d/rc.sysinit59
-rwxr-xr-xsysconfig/network-scripts/ifdown8
-rwxr-xr-xsysconfig/network-scripts/ifup20
-rwxr-xr-xsysconfig/network-scripts/ifup-aliases3
-rwxr-xr-xsysconfig/network-scripts/ifup-ppp10
-rwxr-xr-xsysconfig/network-scripts/ifup-routes5
-rwxr-xr-xsysconfig/network-scripts/ifup-sl10
23 files changed, 2758 insertions, 152 deletions
diff --git a/Makefile b/Makefile
index 836bb25d..796409b1 100644
--- a/Makefile
+++ b/Makefile
@@ -9,6 +9,7 @@ mandir=/usr/share/man
all:
(cd src; make)
+ (make -C po)
install:
mkdir -p $(ROOT)/etc/profile.d $(ROOT)/sbin $(ROOT)/usr/sbin
mkdir -p $(ROOT)$(mandir)/man8
@@ -39,6 +40,7 @@ install:
ln -sf ../../../sbin/ifup . ; \
ln -sf ../../../sbin/ifdown . )
(cd src; make install ROOT=$(ROOT) mandir=$(mandir))
+ (cd po ; make install PREFIX=$(ROOT))
mkdir -p $(ROOT)/var/run/netreport
chown $(SUPERUSER).$(SUPERGROUP) $(ROOT)/var/run/netreport
chmod og=rwx,o=rx $(ROOT)/var/run/netreport
@@ -59,6 +61,7 @@ changelog:
clean:
(cd src; make clean)
+ (cd po; make clean)
@rm -fv *~ changenew ChangeLog.old
tag-archive:
diff --git a/initscripts.spec b/initscripts.spec
index 62c9976a..13c57ee3 100644
--- a/initscripts.spec
+++ b/initscripts.spec
@@ -70,6 +70,10 @@ mkdir -p $RPM_BUILD_ROOT/var/{log,run}
touch $RPM_BUILD_ROOT/var/run/utmp
touch $RPM_BUILD_ROOT/var/log/wtmp
+# Put this stuff in /etc/locale too
+mkdir -p $RPM_BUILD_ROOT/etc/locale
+cp -a $RPM_BUILD_ROOT/usr/share/locale/* $RPM_BUILD_ROOT/etc/locale
+
%pre
/usr/sbin/groupadd -g 22 -r -f utmp
@@ -220,6 +224,8 @@ rm -rf $RPM_BUILD_ROOT
/sbin/service
/sbin/ppp-watch
%{_mandir}/man*/*
+/etc/locale/*/*/*.mo
+/usr/share/locale/*/*/*.mo
%dir %attr(775,root,root) /var/run/netreport
%config /etc/ppp/ip-up
%config /etc/ppp/ip-down
diff --git a/po/Makefile b/po/Makefile
new file mode 100644
index 00000000..a918c983
--- /dev/null
+++ b/po/Makefile
@@ -0,0 +1,60 @@
+INSTALL= /usr/bin/install -c
+INSTALL_PROGRAM= ${INSTALL}
+INSTALL_DATA= ${INSTALL} -m 644
+INSTALLNLSDIR=/usr/share/locale
+
+MSGMERGE = msgmerge
+
+NLSPACKAGE = initscripts
+
+CATALOGS = $(shell ls *.po)
+FMTCATALOGS = $(patsubst %.po,%.mo,$(CATALOGS))
+
+POTFILES = ../rc.d/init.d/* ../rc.d/rc.* ../sysconfig/network-scripts/*
+
+all: $(NLSPACKAGE).pot $(FMTCATALOGS)
+
+$(NLSPACKAGE).pot: $(POTFILES)
+ ./xgettext_sh --initscripts $(POTFILES) > $(NLSPACKAGE).po
+ if cmp -s $(NLSPACKAGE).po $(NLSPACKAGE).pot; then \
+ rm -f $(NLSPACKAGE).po; \
+ else \
+ mv $(NLSPACKAGE).po $(NLSPACKAGE).pot; \
+ fi
+
+
+update-po: Makefile
+ $(MAKE) $(NLSPACKAGE).pot
+ catalogs='$(CATALOGS)'; \
+ for cat in $$catalogs; do \
+ lang=`basename $$cat .po`; \
+ if $(MSGMERGE) $$lang.po $(NLSPACKAGE).pot > $$lang.pot ; then \
+ mv -f $$lang.pot $$lang.po ; \
+ echo "$(MSGMERGE) of $$lang succeeded" ; \
+ else \
+ echo "$(MSGMERGE) of $$lang failed" ; \
+ rm -f $$lang.pot ; \
+ fi \
+ done
+
+clean:
+ rm -f *mo $(NLSPACKAGE).pot
+
+distclean: clean
+ rm -f .depend Makefile
+
+depend:
+
+install: all
+ mkdir -p $(PREFIX)/$(INSTALLNLSDIR)
+ for n in $(CATALOGS); do \
+ l=`basename $$n .po`; \
+ mo=$$l.mo; \
+ $(INSTALL) -m 755 -d $(PREFIX)/$(INSTALLNLSDIR)/$$l; \
+ $(INSTALL) -m 755 -d $(PREFIX)/$(INSTALLNLSDIR)/$$l/LC_MESSAGES; \
+ $(INSTALL) -m 644 $$mo \
+ $(PREFIX)/$(INSTALLNLSDIR)/$$l/LC_MESSAGES/$(NLSPACKAGE).mo; \
+ done
+
+%.mo: %.po
+ msgfmt -o $@ $<
diff --git a/po/es.po b/po/es.po
new file mode 100644
index 00000000..21ed4544
--- /dev/null
+++ b/po/es.po
@@ -0,0 +1,904 @@
+msgid ""
+msgstr ""
+"Project-Id-Version: \n"
+"PO-Revision-Date: 2000-10-31 13:33 -03:00\n"
+"Last-Translator: Andrea Mara Pimenta Alonso <pimenta@conectiva.com.br>\n"
+"Language-Team: <es@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-1\n"
+"Content-Transfer-Encoding: 8-bit\n"
+
+#: ../rc.d/init.d/network:166
+#, c-format
+msgid "Adding internal IPX network %s %s: "
+msgstr "Añadiendo red IPX interna %s %s: "
+
+#: ../rc.d/init.d/halt:80
+#, fuzzy
+msgid "Unmounting file systems: "
+msgstr "Desmontando sistema de archivos"
+
+#: ../rc.d/init.d/halt:69
+msgid "Turning off quotas: "
+msgstr "Desactivar cuotas: "
+
+#: ../rc.d/rc.sysinit:431
+msgid "*** An error occurred during the RAID startup\n"
+msgstr "*** Un error ocurrió durante la inicialización del RAID\n"
+
+#: ../rc.d/init.d/network:160
+#, c-format
+msgid "Bringing up route %s: "
+msgstr "Activando ruta %s: "
+
+#: ../rc.d/init.d/network:48
+#, c-format
+msgid "Bringing up interface %s: "
+msgstr "Activando interfaz %s: "
+
+#: ../rc.d/init.d/netfs:38 ../rc.d/init.d/netfs:40 ../rc.d/init.d/netfs:41
+#, c-format
+msgid "Mounting %s filesystems: "
+msgstr "Montando sistema de archivos %s: "
+
+#: ../rc.d/rc.sysinit:167
+msgid "Initializing USB HID interface: "
+msgstr "Iniciando interfaz USB HID: "
+
+#: ../rc.d/init.d/single:29
+#, c-format
+msgid "Sending all processes the %s signal..\n"
+msgstr "Enviando todos los procesos de la señal %s ...\n"
+
+#: ../sysconfig/network-scripts/ifup-sl:33
+#, c-format
+msgid "%s does not exist or is not executable\n"
+msgstr "%s no existe o no es ejecutable\n"
+
+#: ../sysconfig/network-scripts/ifup-ppp:58
+#, c-format
+msgid "/etc/sysconfig/network-scripts/chat-%s does not exist for %s"
+msgstr "/etc/sysconfig/network-scripts/chat-%s no existe para %s"
+
+#: ../rc.d/init.d/functions:291
+#, c-format
+msgid "%s dead but subsys locked\n"
+msgstr "%s inactivo pero subsistemas bloqueados\n"
+
+#: ../rc.d/rc.sysinit:489
+msgid "Checking filesystem quotas: "
+msgstr "Verificando cuotas de sistema de archivos:"
+
+#: ../rc.d/init.d/network:165 ../rc.d/init.d/network:174
+msgid "Deleting internal IPX network: "
+msgstr "Eliminando red IPX interna: "
+
+#: ../rc.d/init.d/halt:57
+msgid "Saving mixer settings"
+msgstr "Guardando configuraciones del mixer"
+
+#: ../rc.d/init.d/network:46
+msgid "Setting network parameters: "
+msgstr "Configurando parámetros de red: "
+
+#: ../sysconfig/network-scripts/ifdown:12
+#: ../sysconfig/network-scripts/ifdown:18
+#, c-format
+msgid "usage: %s <device name>\n"
+msgstr "uso: %s <nombre del dispositivo>\n"
+
+#: ../rc.d/init.d/rawdevices:33 ../rc.d/init.d/rawdevices:40
+msgid " If the command 'raw' still refers to /dev/raw as a file.\n"
+msgstr " Si el comando 'raw' aún se refiere a /dev/raw como un archivo.\n"
+
+#: ../rc.d/init.d/netfs:43
+msgid "Mounting other filesystems: "
+msgstr "Montando otros sistema de archivos"
+
+#: ../rc.d/init.d/rawdevices:68
+msgid "You need to be root to use this command!\n"
+msgstr "¡Usted necesita estar como root para usar este comando!\n"
+
+#: ../rc.d/rc.sysinit:522
+msgid "Turning on user and group quotas for local filesystems: "
+msgstr "Activando cuotas para sistema de archivos locales: "
+
+#: ../sysconfig/network-scripts/ifup-ppp:48
+#, c-format
+msgid "ifup-ppp for %s exiting\n"
+msgstr "ifup-ppp para %s saliendo\n"
+
+#: ../rc.d/init.d/functions:294
+#, c-format
+msgid "%s is stopped\n"
+msgstr "%s está parado\n"
+
+#: ../rc.d/init.d/halt:65
+msgid "Turning off swap: "
+msgstr "Desactivando intercambio:"
+
+#: ../rc.d/init.d/rawdevices:32 ../rc.d/init.d/rawdevices:39
+msgid " rawdevices are now located in the directory /dev/raw/\n"
+msgstr ""
+" dispositivos de acceso directo ahora están en el directorio /dev/raw/\n"
+
+#: ../rc.d/init.d/network:129
+msgid "Devices that are down:\n"
+msgstr "Dispositivos que están bajos:\n"
+
+#: ../rc.d/init.d/halt:78
+#, fuzzy
+msgid "Unmounting file systems (retry): "
+msgstr "Desmontando sistema de archivos %s (otra vez): "
+
+#: ../rc.d/rc.sysinit:149
+#, c-format
+msgid "Setting hostname %s: "
+msgstr "Configurando nombre de la máquina %s: "
+
+#: ../rc.d/init.d/network:131
+msgid "Devices with modified configuration:\n"
+msgstr "Dispositivos con configuraciones cambiadas:\n"
+
+#: ../rc.d/init.d/single:26
+#, c-format
+msgid "Sending all processes the %s signal...\n"
+msgstr "Enviando todos los procesos de la señal %s ...\n"
+
+#: ../rc.d/init.d/functions:324
+msgid "PASSED"
+msgstr "PASÓ"
+
+#: ../sysconfig/network-scripts/ifup:77
+#, c-format
+msgid "Delaying %s initialization.\n"
+msgstr "Atrasando la inicialización %s\n"
+
+#: ../sysconfig/network-scripts/ifup:118
+msgid " failed.\n"
+msgstr "falló.\n"
+
+#: ../rc.d/init.d/halt:39
+#, fuzzy, c-format
+msgid "%s: call me as 'halt' or 'reboot' please!"
+msgstr "%s ¡llámeme como rc.halt o rc.reboot, por favor!"
+
+#: ../rc.d/rc.sysinit:123
+#, c-format
+msgid "Loading default keymap (%s): "
+msgstr "Cargando mapa de teclado estándar (%s): "
+
+#: ../rc.d/init.d/rawdevices:34 ../rc.d/init.d/rawdevices:41
+msgid " you'll have to upgrade your util-linux package\n"
+msgstr " usted tendrá que actualizar su paquete util-linux package\n"
+
+#: ../rc.d/init.d/halt:67
+msgid "Turning off accounting: "
+msgstr "Desactivando accounting: "
+
+#: ../rc.d/rc.sysinit:225 ../rc.d/rc.sysinit:470
+msgid "(Repair filesystem) # "
+msgstr "(Reparar el sistema de archivos) # "
+
+#: ../rc.d/init.d/random:26
+msgid "Initializing random number generator: "
+msgstr "Iniciando generador de números aleatorios: "
+
+#: ../rc.d/init.d/functions:399
+#, c-format
+msgid "Start service %s (Y)es/(N)o/(C)ontinue? [Y] "
+msgstr "Inicializar servicio %s ¿(S)í/(N)o/(C)ontinuar? [S]"
+
+#: ../rc.d/init.d/random:46
+msgid "The random data source is missing\n"
+msgstr "La fuente de datos aleatorios está perdida\n"
+
+#: ../rc.d/init.d/halt:31
+msgid "The system is halted"
+msgstr "El sistema está parado"
+
+#: ../rc.d/rc.sysinit:146
+msgid "Activating swap partitions: "
+msgstr "Activando partición de intercambio: "
+
+#: ../sysconfig/network-scripts/ifup:14 ../sysconfig/network-scripts/ifup:20
+msgid "usage: ifup <device name>\n"
+msgstr "uso: ifup <nombre del dispositivo>\n"
+
+#: ../rc.d/rc.sysinit:222 ../rc.d/rc.sysinit:432 ../rc.d/rc.sysinit:467
+msgid "*** Dropping you to a shell; the system will reboot\n"
+msgstr ""
+"*** Transfiriendo para un interpretador de órdenes, el sistema "
+"reinicializará\n"
+
+#: ../rc.d/init.d/halt:61
+msgid "Syncing hardware clock to system time"
+msgstr ""
+
+#: ../rc.d/rc.sysinit:391
+msgid "Starting up RAID devices: "
+msgstr "Inicializando los dispositivos de RAID:"
+
+#: ../rc.d/init.d/functions:270
+msgid "Usage: status {program}\n"
+msgstr "Uso: estado {programa}\n"
+
+#: ../rc.d/init.d/network:97
+#, c-format
+msgid "Shutting down interface %s: "
+msgstr "Desactivando interfaz %s: "
+
+#: ../rc.d/init.d/network:116
+msgid "Disabling IPv4 automatic defragmentation: "
+msgstr "Deshabilitando el envío del paquete IPv4"
+
+#: ../rc.d/init.d/network:111
+msgid "Disabling IPv4 packet forwarding: "
+msgstr "Deshabilitando el repase de paquetes IPv4: "
+
+#: ../rc.d/rc.sysinit:258
+msgid "Remounting root filesystem in read-write mode: "
+msgstr "Remontando sistema de archivos raíz en modo de lectura y escritura: "
+
+#: ../rc.d/rc.sysinit:173
+msgid "Initializing USB mouse: "
+msgstr "Iniciando ratón USB: "
+
+#: ../sysconfig/network-scripts/ifup-ppp:47
+msgid "/usr/sbin/pppd does not exist or is not executable\n"
+msgstr "/usr/sbin/pppd no existe o no se puede ejecutar\n"
+
+#: ../rc.d/init.d/rawdevices:77
+msgid "Usage: rawdevice {start|stop|status|restart}\n"
+msgstr "Uso: rawdevice {start|stop|status|restart}\n"
+
+#: ../rc.d/init.d/netfs:55 ../rc.d/init.d/netfs:66 ../rc.d/init.d/netfs:67
+#, c-format
+msgid "Unmounting %s filesystems: "
+msgstr "Desmontando sistema de archivos %s: "
+
+#: ../rc.d/rc.sysinit:371
+msgid "Loading mixer settings: "
+msgstr "Cargando configuraciones del mixer:"
+
+#: ../rc.d/init.d/functions:401
+msgid "nN"
+msgstr "nN"
+
+#: ../sysconfig/network-scripts/ifup-sl:45
+#, c-format
+msgid "%s does not exist\n"
+msgstr "%s no existe\n"
+
+#: ../rc.d/init.d/single:56
+msgid "Telling INIT to go to single user mode.\n"
+msgstr "Informando INIT para ir para modo de usuario simple.\n"
+
+#: ../rc.d/init.d/random:56
+#, c-format
+msgid "Usage: %s {start|stop|status|restart|reload}\n"
+msgstr "Uso: %s {start|stop|status|restart|reload}\n"
+
+#: ../rc.d/init.d/netfs:73 ../rc.d/init.d/netfs:77 ../rc.d/init.d/netfs:81
+#, c-format
+msgid "Configured %s mountpoints:\n"
+msgstr "Configurados los puntos de montaje %s :\n"
+
+#: ../sysconfig/network-scripts/ifdown:28 ../sysconfig/network-scripts/ifup:30
+msgid "Users cannot control this device.\n"
+msgstr "Usuarios no pueden controlar este dispositivo.\n"
+
+#: ../rc.d/rc.sysinit:473
+msgid "Unmounting file systems"
+msgstr "Desmontando sistema de archivos"
+
+#: ../sysconfig/network-scripts/ifup:86
+#, c-format
+msgid "Enslaving %s to %s"
+msgstr "Colocando %s como eslavo en %s"
+
+#: ../rc.d/init.d/functions:313
+msgid "FAILED"
+msgstr "FALLÓ"
+
+#: ../rc.d/init.d/halt:35
+msgid "Please stand by while rebooting the system..."
+msgstr "Por favor aguarde mientras el sistema reinicia..."
+
+#: ../rc.d/rc.sysinit:319
+msgid "Checking root filesystem quotas: "
+msgstr "Verificando cuotas del sistema de archivos raíz: "
+
+#: ../rc.d/init.d/netfs:53
+#, c-format
+msgid "Unmounting %s filesystems (retry): "
+msgstr "Desmontando sistema de archivos %s (otra vez): "
+
+#: ../rc.d/init.d/rawdevices:55
+msgid "Assigning devices: "
+msgstr "Asignando dispositivos: "
+
+#: ../rc.d/init.d/functions:302
+msgid "OK"
+msgstr "OK"
+
+#: ../sysconfig/network-scripts/ifup-aliases:65
+#: ../sysconfig/network-scripts/ifup-routes:9
+#, c-format
+msgid "usage: %s <net-device>\n"
+msgstr "uso: %s <dispositivo de red>\n"
+
+#: ../rc.d/rc.sysinit:435
+msgid "(RAID Repair) # "
+msgstr "(Reparar RAID) # "
+
+#: ../rc.d/init.d/halt:49
+#, c-format
+msgid "Sending all processes the %s signal.."
+msgstr "Enviando a todos los procesos la señal %s.."
+
+#: ../rc.d/init.d/rawdevices:31 ../rc.d/init.d/rawdevices:38
+msgid " Please correct your /etc/sysconfig/rawdevices:\n"
+msgstr " Por favor corrija su /etc/sysconfig/rawdevices:\n"
+
+#: ../rc.d/rc.sysinit:170
+msgid "Initializing USB keyboard: "
+msgstr "Iniciando teclado USB: "
+
+#: ../sysconfig/network-scripts/ifup:114 ../sysconfig/network-scripts/ifup:116
+msgid " done.\n"
+msgstr "hecho.\n"
+
+#: ../rc.d/rc.sysinit:251
+msgid "Skipping ISA PNP configuration at users request: "
+msgstr "Saltando configuración ISA PNP a pedido del usuario: "
+
+#: ../rc.d/rc.sysinit:140
+#, c-format
+msgid "Setting default font (%s): "
+msgstr "Configurando fuente estándar (%s): "
+
+#: ../rc.d/init.d/network:147 ../rc.d/init.d/network:154
+#, c-format
+msgid "Bringing up device %s: "
+msgstr "Activando dispositivos %s: "
+
+#: ../rc.d/init.d/netfs:85 ../rc.d/init.d/netfs:89 ../rc.d/init.d/netfs:93
+#, c-format
+msgid "Active %s mountpoints:\n"
+msgstr "Puntos de montaje activos %s :\n"
+
+#: ../rc.d/init.d/halt:104
+msgid "On the next boot fsck will be skipped.\n"
+msgstr "En la próxima inicialización se saltará el fsck.\n"
+
+#: ../rc.d/rc.sysinit:231 ../rc.d/rc.sysinit:441 ../rc.d/rc.sysinit:476
+msgid "Automatic reboot in progress.\n"
+msgstr "Reinicio automático en evolución.\n"
+
+#: ../rc.d/init.d/functions:285
+#, c-format
+msgid "%s dead but pid file exists\n"
+msgstr "%s interrumpido pero existe un archivo pid\n"
+
+#: ../rc.d/rc.sysinit:249
+msgid "Setting up ISA PNP devices: "
+msgstr "Iniciando los dispositivos ISA PNP: "
+
+#: ../sysconfig/network-scripts/ifup-sl:34
+#: ../sysconfig/network-scripts/ifup-sl:46
+#, c-format
+msgid "%s for %s exiting\n"
+msgstr "%s para %s saliendo\n"
+
+#: ../rc.d/init.d/netfs:97
+msgid "/proc filesystem unavailable\n"
+msgstr "sistema de archivos /proc no disponible\n"
+
+#: ../rc.d/rc.sysinit:203
+msgid "Checking root filesystem"
+msgstr "Verificando sistema de archivos raíz"
+
+#: ../rc.d/init.d/network:134
+msgid "Currently active devices:\n"
+msgstr "Dispositivos activos en el momento:\n"
+
+#: ../rc.d/rc.sysinit:223 ../rc.d/rc.sysinit:433 ../rc.d/rc.sysinit:468
+msgid "*** when you leave the shell.\n"
+msgstr "*** cuando usted salga del interpretador de órdenes.\n"
+
+#: ../rc.d/init.d/netfs:108
+#, c-format
+msgid "Usage: %s {start|stop|restart|reload|status}\n"
+msgstr "Uso: %s {start|stop|restart|reload|status}\n"
+
+#: ../rc.d/rc.sysinit:43
+msgid "\t\tPress 'I' to enter interactive startup.\n"
+msgstr "\t\t Presione 'I' para entrar en la inicialización interactiva.\n"
+
+#: ../rc.d/rc.sysinit:103
+#, c-format
+msgid "Setting clock %s: %s"
+msgstr "Configurando horario %s: %s"
+
+#: ../rc.d/init.d/functions:400
+msgid "yY"
+msgstr "sSyY"
+
+#: ../rc.d/init.d/functions:172
+msgid "Usage: killproc {program} [signal]\n"
+msgstr "Uso: killproc {programa} [señal]\n"
+
+#: ../sysconfig/network-scripts/ifup-ppp:50
+#, c-format
+msgid "/usr/sbin/pppd does not exist or is not executable for %s\n"
+msgstr "/usr/sbin/pppd no existe o no es ejecutable para %s\n"
+
+#: ../rc.d/init.d/network:157
+#, c-format
+msgid "Briging up alias %s: "
+msgstr "Activando alias %s: "
+
+#: ../rc.d/rc.sysinit:486
+msgid "Mounting local filesystems: "
+msgstr "Montando sistema de archivos local: "
+
+#: ../rc.d/init.d/functions:402
+msgid "cC"
+msgstr "cC"
+
+#: ../rc.d/rc.sysinit:228 ../rc.d/rc.sysinit:438
+msgid "Unmounting file systems\n"
+msgstr "Desmontando sistema de archivos\n"
+
+#: ../rc.d/init.d/network:124
+msgid "Configured devices:\n"
+msgstr "Dispositivos configurados:\n"
+
+#: ../rc.d/rc.sysinit:37
+msgid "\t\t\tWelcome to "
+msgstr "\t\t\tBienvenido al "
+
+#: ../rc.d/rc.sysinit:350 ../rc.d/rc.sysinit:352
+msgid "Finding module dependencies: "
+msgstr "Encontrando dependencias de los módulos: "
+
+#: ../sysconfig/network-scripts/ifup:111
+#, c-format
+msgid "Determining IP information for %s..."
+msgstr "Determinando información de IP para %s..."
+
+#: ../rc.d/rc.sysinit:52
+msgid "Mounting proc filesystem: "
+msgstr "Montando sistema de archivos proc: "
+
+#: ../rc.d/init.d/network:200
+#, c-format
+msgid "Usage: %s {start|stop|restart|reload|status|probe}\n"
+msgstr "Uso: %s {start|stop|restart|reload|status|probe}\n"
+
+#: ../rc.d/rc.sysinit:125
+msgid "Loading default keymap: "
+msgstr "Recargando mapa de teclado estándar: "
+
+#: ../rc.d/rc.sysinit:163
+msgid "Mounting USB filesystem: "
+msgstr "Montando sistema de archivos USB: "
+
+#: ../rc.d/init.d/network:150 ../rc.d/init.d/network:153
+#, c-format
+msgid "Shutting down device %s: "
+msgstr "Desactivando los servicios %s: "
+
+#: ../rc.d/init.d/random:37
+msgid "Saving random seed: "
+msgstr "Guardando semilla aleatoria: "
+
+#: ../rc.d/rc.sysinit:128
+msgid "Loading default keymap"
+msgstr "Cargando mapa de teclado estándar"
+
+#: ../rc.d/rc.sysinit:449
+msgid "Checking filesystems"
+msgstr "Verificando sistema de archivos"
+
+#: ../rc.d/init.d/halt:106
+msgid "On the next boot fsck will be forced.\n"
+msgstr "En la próxima inicialización será forzado el fsck\n"
+
+#: ../rc.d/init.d/functions:277
+#, c-format
+msgid "%s (pid %s) is running...\n"
+msgstr "%s (pid %s) está funcionando...\n"
+
+#: ../rc.d/rc.sysinit:56
+msgid "Configuring kernel parameters: "
+msgstr "Configurando parámetros del kernel: "
+
+#: ../rc.d/rc.sysinit:221 ../rc.d/rc.sysinit:466
+msgid "*** An error occurred during the file system check.\n"
+msgstr ""
+"*** Un error ocurrió durante la verificación del sistema de archivos.\n"
+
+#: ../rc.d/init.d/halt:47
+#, c-format
+msgid "Sending all processes the %s signal..."
+msgstr "Enviando a todos los procesos la señal %s..."
+
+#: ../rc.d/init.d/random:44
+msgid "The random data source exists\n"
+msgstr "La fuente de datos aleatorios existe\n"
+
+#: ../rc.d/rc.sysinit:563
+msgid "Enabling swap space: "
+msgstr "Habilitando espacio de intercambio: "
+
+#: ../rc.d/init.d/halt:99
+msgid "Unmounting proc file system: "
+msgstr "Desmontando sistema de archivos proc: "
+
+#~ msgid "Starting %s service: "
+#~ msgstr "Iniciando el servicio %s :"
+
+#~ msgid "No LDAP_SERVER specified!\n"
+#~ msgstr "¡Ningún LDAP_SERVER especificado!\n"
+
+#~ msgid "Stopping %s daemon: "
+#~ msgstr "Parando el servidor %s :"
+
+#~ msgid "Restarting %s: "
+#~ msgstr "Reiniciando %s: "
+
+#~ msgid "Shutting down %s services: \n"
+#~ msgstr "Terminando los servicios %s :\n"
+
+#~ msgid "Shutting down %s services: "
+#~ msgstr "Cerrando los servicios %s :"
+
+#~ msgid "This is required for the SPOP3 service.\n"
+#~ msgstr "Eso es necesario para el servicio SPOP3.\n"
+
+#~ msgid "Usage: pidofproc {program}\n"
+#~ msgstr "Uso: pidofproc {programa}\n"
+
+#~ msgid "\t\tPress 'I' to enter interactive startup."
+#~ msgstr "\t\t Presione 'I' para entrar en la inicialización interactiva"
+
+#~ msgid "ERROR: %s not found\n"
+#~ msgstr "ERROR: %s no encontrado\n"
+
+#~ msgid "Reloading %s: "
+#~ msgstr "Recargando %s:"
+
+#~ msgid "%s is stopped"
+#~ msgstr "%s está parado"
+
+#~ msgid "unable to create temporary file\n"
+#~ msgstr "no es posible crear el archivo temporario\n"
+
+#~ msgid "Must specificate a certificate file in server mode\n"
+#~ msgstr ""
+#~ "Es necesario especificar un archivo de certificado cuando en modo servidor\n"
+
+#~ msgid " "
+#~ msgstr " "
+
+#~ msgid "Activating logical volumes: "
+#~ msgstr "Activando volúmenes lógicos: "
+
+#~ msgid "Usage: %s {start|stop|restart|status}\n"
+#~ msgstr "Uso: %s {start|stop|restart|status}\n"
+
+#~ msgid "the MySQL root password. Without this, you are not \n"
+#~ msgstr "la contraseña de root de MySQL. Sin ella usted no \n"
+
+#~ msgid "Stopping %s"
+#~ msgstr "Interrumpiendo %s"
+
+#~ msgid "Usage: %s {start|stop|status|restart}\n"
+#~ msgstr "Uso: %s {start|stop|status|restart}\n"
+
+#~ msgid "Check your /etc/sysconfig/stunnel file.\n"
+#~ msgstr "Verifique su archivo /etc/sysconfig/stunnel.\n"
+
+#~ msgid "Shutting down %s: "
+#~ msgstr "Apagando %s :"
+
+#~ msgid "Shutting down papd service: "
+#~ msgstr "Desactivando los servicios papd:"
+
+#~ msgid "Usage: mysql {start|stop|status|restart}\n"
+#~ msgstr "Uso: mysql {start|stop|status|restart}\n"
+
+#~ msgid "Check /etc/sysconfig/stunnel\n"
+#~ msgstr "Verifique /etc/sysconfig/stunnel\n"
+
+#~ msgid "Shutting down afpd service: "
+#~ msgstr "Apagando los servicios afpd: "
+
+#~ msgid "Start %s\n"
+#~ msgstr "Iniciar %s\n"
+
+#~ msgid "Shutting down %s "
+#~ msgstr "Apagando %s"
+
+#~ msgid "Must specificate a certificate file to use SPOP3!\n"
+#~ msgstr ""
+#~ "¡Hay necesidad de especificar un archivo de certificado para usar SPOP3!\n"
+
+#~ msgid "Loading system font: "
+#~ msgstr "Cargando fuente de sistema: "
+
+#~ msgid "Stopping %s services: "
+#~ msgstr "Interrumpiendo los servicios %s :"
+
+#~ msgid "Usage: %s {start|stop|restart}\n"
+#~ msgstr "Uso: %s {start|stop|restart}\n"
+
+#~ msgid "Setting NIS domain name %s: "
+#~ msgstr "Configurando nombre de dominio NIS %s: "
+
+#~ msgid "%s is stoppped"
+#~ msgstr "%s está parado"
+
+#~ msgid "Hardware configuration timed out.\n"
+#~ msgstr "Tiempo de configuración de hardware agotado.\n"
+
+#~ msgid "Starting %s "
+#~ msgstr "Inicializando %s"
+
+#~ msgid "allowed to startup the server.\n"
+#~ msgstr "permitido para iniciar el servidor.\n"
+
+#~ msgid "%s is not running\n"
+#~ msgstr "%s no está funcionando\n"
+
+#~ msgid "Usage: atalk {start|stop|restart|status}"
+#~ msgstr "Uso: atalk {start|stop|restart|status}"
+
+#~ msgid "Please run '/usr/sbin/mysql_createdb' to setup \n"
+#~ msgstr "Por favor ejecute '/usr/sbin/mysql_createdb' para configurar \n"
+
+#~ msgid "Starting ldirectord"
+#~ msgstr "Iniciando ldirectord"
+
+#~ msgid "Run '/usr/sbin/kudzu' from the command line to re-detect.\n"
+#~ msgstr "Ejecute '/usr/sbin/kudzu' en la línea de comando para redetectar.\n"
+
+#~ msgid "Turning off RAID for %s: "
+#~ msgstr "Desactivando RAID para %s: "
+
+#~ msgid "Starting %s"
+#~ msgstr "Iniciando %s"
+
+#~ msgid "(hdparm not configured)"
+#~ msgstr "(hdparm no configurado)"
+
+#~ msgid "Usage: %s {start|stop|status|reload}\n"
+#~ msgstr "Uso: %s {start|stop|status|reload}\n"
+
+#~ msgid "%s is already running\n"
+#~ msgstr "%s ya está en ejecución\n"
+
+#~ msgid "Binding to the %s domain... "
+#~ msgstr "Enlazando al dominio %s ..."
+
+#~ msgid "%s: this script must be run as root\n"
+#~ msgstr "%s: es necesario ejecutar este script como root\n"
+
+#~ msgid "Check the SPOP3_CERTIFICATE_FILE line in /etc/sysconfig/stunnel."
+#~ msgstr ""
+#~ "Verifique la línea SPOP3_CERTIFICATE_FILE en /etc/sysconfig/stunnel."
+
+#~ msgid "Can't execute %s\n"
+#~ msgstr "No es posible ejecutar %s\n"
+
+#~ msgid "Starting AppleTalk services: "
+#~ msgstr "Iniciando los servicios AppleTalk: "
+
+#~ msgid "creating swap directories, wait... "
+#~ msgstr "creando directorios de intercambio, espere... "
+
+#~ msgid "Starting %s server: "
+#~ msgstr "Inicializando el servidor %s :"
+
+#~ msgid "%s is not running.\n"
+#~ msgstr "%s no está funcionando\n"
+
+#~ msgid "Usage: %s {start|stop|status|restart|reload}"
+#~ msgstr "Uso: %s {start|stop|status|restart|reload}"
+
+#~ msgid "Usage: %s {start|stop}\n"
+#~ msgstr "Uso: %s {start|stop}\n"
+
+#~ msgid "%s not found! "
+#~ msgstr "¡%s no encontrado! "
+
+#~ msgid "Loading mixer settings"
+#~ msgstr "Cargando configuraciones del mixer"
+
+#~ msgid "Restarting %s"
+#~ msgstr "Reiniciando %s"
+
+#~ msgid "Starting afpd service: "
+#~ msgstr "Iniciando el servicio afpd %s :"
+
+#~ msgid "Starting %s services: \n"
+#~ msgstr "Inicializando los servicios %s :\n"
+
+#~ msgid "Usage: %s {start|stop|status|restart|reload|test}\n"
+#~ msgstr "Uso: %s {start|stop|status|restart|reload|test}\n"
+
+#~ msgid "Shutting down AppleTalk services: "
+#~ msgstr "Cerrando los servicios AppleTalk: "
+
+#~ msgid "Stopping %s: "
+#~ msgstr "Interrumpiendo %s :"
+
+#~ msgid "Usage: %s start|stop|restart|status}"
+#~ msgstr "Uso: %s start|stop|restart|status}"
+
+#~ msgid "Stopping ldirectord"
+#~ msgstr "Parando ldirectord"
+
+#~ msgid "Starting %s: "
+#~ msgstr "Iniciando %s:"
+
+#~ msgid "Syncing time for xntpd\n"
+#~ msgstr "Sincronizando tiempo para xntpd\n"
+
+#~ msgid "Loading keymap: "
+#~ msgstr "Cargando mapa de teclado:"
+
+#~ msgid "Reloading %s service: "
+#~ msgstr "Recargando el servicio %s :"
+
+#~ msgid "Turning off RAID: "
+#~ msgstr "Desactivando RAID: "
+
+#~ msgid "Starting %s %s"
+#~ msgstr "Iniciando %s %s"
+
+#~ msgid "%s Mount Points\n"
+#~ msgstr "Puntos de Montaje %s\n"
+
+#~ msgid "Stopping %s service: "
+#~ msgstr "Interrumpiendo el servicio %s :"
+
+#~ msgid "rpc.umountd "
+#~ msgstr "rpc.umountd"
+
+#~ msgid "This is required in SERVER mode only\n"
+#~ msgstr "Eso sólo es necesario en modo SERVIDOR\n"
+
+#~ msgid "Verifying changes in %s...\n"
+#~ msgstr "Verificando cambios en %s ...\n"
+
+#~ msgid "\n"
+#~ msgstr "\n"
+
+#~ msgid "%s not found. Running initdb"
+#~ msgstr "%s no encontrado. Ejecutando initdb"
+
+#~ msgid "Starting papd service: "
+#~ msgstr "Iniciando el servicio papd: "
+
+#~ msgid "(mouse not configured)"
+#~ msgstr "(ratón no configurado)"
+
+#~ msgid "Starting %s daemon: "
+#~ msgstr "Inicializando daemon %s :"
+
+#~ msgid "Usage: %s {start|stop|restart|status}"
+#~ msgstr "Uso: %s {start|stop|restart|status}"
+
+#~ msgid "Checking for new hardware\n"
+#~ msgstr "Buscando nuevo hardware\n"
+
+#~ msgid "Loading DRBD module"
+#~ msgstr "Cargando módulo DRBD"
+
+#~ msgid "Unloading DRBD module"
+#~ msgstr "Descargando módulo DRBD"
+
+#~ msgid "Usage: killprocparent {program} [signal]\n"
+#~ msgstr "Uso: killprocparent {programa} [señal]\n"
+
+#~ msgid "Usage: %s {start|stop|status|reload|restart}\n"
+#~ msgstr "Uso: %s {start|stop|status|reload|restart}\n"
+
+#~ msgid "Check /etc/sysconfig/stunnel"
+#~ msgstr "Verifique /etc/sysconfig/stunnel"
+
+#~ msgid "%s isn't running"
+#~ msgstr "%s no está funcionando"
+
+#~ msgid "No status available for this package\n"
+#~ msgstr "Ningún status disponible para este paquete\n"
+
+#~ msgid "Listening for an %s domain server: "
+#~ msgstr "Aguardando por un dominio de servidor en %s :"
+
+#~ msgid "Starting %s services: "
+#~ msgstr "Inicializando servicios %s :"
+
+#~ msgid "Stop %s\n"
+#~ msgstr "Parar %s\n"
+
+#~ msgid "Stopping %s server: "
+#~ msgstr "Interrumpiendo el servidor %s :"
+
+#~ msgid "rpc.mountd "
+#~ msgstr "rpc.mountd"
+
+#~ msgid "Usage: pidoffather <program>\n"
+#~ msgstr "Uso: pidoffather {programa}\n"
+
+#~ msgid "Restarting %s services: "
+#~ msgstr "Reiniciando los servicios %s :"
+
+#~ msgid "Usage: %s {start|stop|status|restart}"
+#~ msgstr "Uso: %s {start|stop|status|restart}"
+
+#~ msgid "Uso: %s {start|stop}\n"
+#~ msgstr "Uso: %s {start|stop}\n"
+
+#~ msgid "Status %s server: "
+#~ msgstr "Estado del servidor %s :"
+
+#~ msgid "%s sound board detected.\n"
+#~ msgstr "%s tarjeta de sonido detectada.\n"
+
+#~ msgid "gated done\n"
+#~ msgstr "todos los puertos hechos\n"
+
+#~ msgid "Usage: %s start\n"
+#~ msgstr "Uso: iniciar %s\n"
+
+#~ msgid "Automatic reboot in progress."
+#~ msgstr "Reinicio automático en evolución."
+
+#~ msgid "%s device not detected.\n"
+#~ msgstr "%s dispositivo no detectado.\n"
+
+#~ msgid "%s: Usage: daemon [+/-nicelevel] {program}\n"
+#~ msgstr "%s : Uso: daemon [+/- mejor nivel] {programa}\n"
+
+#~ msgid "%s board not configured.\n"
+#~ msgstr "tarjeta de %s no configurada.\n"
+
+#~ msgid "(see documentation for where to get that driver)"
+#~ msgstr "(vea documentación de donde obtener este controlador)"
+
+#~ msgid "%s device present.\n"
+#~ msgstr "dispositivo %s presente.\n"
+
+#~ msgid "Enabling IPv4 packet forwarding."
+#~ msgstr "Habilitando envío de paquete IPv4."
+
+#~ msgid "Cannot start Pluto, system lacks /dev/random !!!"
+#~ msgstr "No puede inicializar Pluto, falta /dev/random !!!"
+
+#~ msgid "sound"
+#~ msgstr "sonido"
+
+#~ msgid "Restarting %s services: \n"
+#~ msgstr "Reiniciando los servicios %s :\n"
+
+#~ msgid "Saving %s configuration: "
+#~ msgstr "Guardando configuración %s :"
+
+#~ msgid ""
+#~ "/proc/sys/net/ipv4/ip_forward is missing -- cannot control IP forwarding\n"
+#~ msgstr ""
+#~ "/proc/sys/net/ipv4/ip_forward está perdido -- imposible controlar envío de "
+#~ "IP\n"
+
+#~ msgid "done\n"
+#~ msgstr "hecho\n"
+
+#~ msgid "Status %s: "
+#~ msgstr "Estado %s:"
+
+#~ msgid "%s final setup\n"
+#~ msgstr "%s ajuste final\n"
diff --git a/po/initscripts.pot b/po/initscripts.pot
new file mode 100644
index 00000000..b513f552
--- /dev/null
+++ b/po/initscripts.pot
@@ -0,0 +1,530 @@
+msgid ""
+msgstr ""
+"Project-Id-Version: \n"
+"PO-Revision-Date: YYYY-MM-DD HH:MM TZO DST\n"
+"Last-Translator: \n"
+"Language-Team: <XX@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-1\n"
+"Content-Transfer-Encoding: 8-bit\n"
+
+#: ../rc.d/init.d/network:166
+#, c-format
+msgid "Adding internal IPX network %s %s: "
+msgstr ""
+
+#: ../rc.d/init.d/halt:80
+msgid "Unmounting file systems: "
+msgstr ""
+
+#: ../rc.d/init.d/halt:69
+msgid "Turning off quotas: "
+msgstr ""
+
+#: ../rc.d/rc.sysinit:431
+msgid "*** An error occurred during the RAID startup\n"
+msgstr ""
+
+#: ../rc.d/init.d/network:160
+#, c-format
+msgid "Bringing up route %s: "
+msgstr ""
+
+#: ../rc.d/init.d/network:48
+#, c-format
+msgid "Bringing up interface %s: "
+msgstr ""
+
+#: ../rc.d/init.d/netfs:38 ../rc.d/init.d/netfs:40 ../rc.d/init.d/netfs:41
+#, c-format
+msgid "Mounting %s filesystems: "
+msgstr ""
+
+#: ../rc.d/rc.sysinit:167
+msgid "Initializing USB HID interface: "
+msgstr ""
+
+#: ../rc.d/init.d/single:29
+#, c-format
+msgid "Sending all processes the %s signal..\n"
+msgstr ""
+
+#: ../sysconfig/network-scripts/ifup-sl:33
+#, c-format
+msgid "%s does not exist or is not executable\n"
+msgstr ""
+
+#: ../sysconfig/network-scripts/ifup-ppp:58
+#, c-format
+msgid "/etc/sysconfig/network-scripts/chat-%s does not exist for %s"
+msgstr ""
+
+#: ../rc.d/init.d/functions:291
+#, c-format
+msgid "%s dead but subsys locked\n"
+msgstr ""
+
+#: ../rc.d/rc.sysinit:489
+msgid "Checking filesystem quotas: "
+msgstr ""
+
+#: ../rc.d/init.d/network:165 ../rc.d/init.d/network:174
+msgid "Deleting internal IPX network: "
+msgstr ""
+
+#: ../rc.d/init.d/halt:57
+msgid "Saving mixer settings"
+msgstr ""
+
+#: ../rc.d/init.d/network:46
+msgid "Setting network parameters: "
+msgstr ""
+
+#: ../sysconfig/network-scripts/ifdown:12 ../sysconfig/network-scripts/ifdown:18
+#, c-format
+msgid "usage: %s <device name>\n"
+msgstr ""
+
+#: ../rc.d/init.d/rawdevices:33 ../rc.d/init.d/rawdevices:40
+msgid " If the command 'raw' still refers to /dev/raw as a file.\n"
+msgstr ""
+
+#: ../rc.d/init.d/netfs:43
+msgid "Mounting other filesystems: "
+msgstr ""
+
+#: ../rc.d/init.d/rawdevices:68
+msgid "You need to be root to use this command!\n"
+msgstr ""
+
+#: ../rc.d/rc.sysinit:522
+msgid "Turning on user and group quotas for local filesystems: "
+msgstr ""
+
+#: ../sysconfig/network-scripts/ifup-ppp:48
+#, c-format
+msgid "ifup-ppp for %s exiting\n"
+msgstr ""
+
+#: ../rc.d/init.d/functions:294
+#, c-format
+msgid "%s is stopped\n"
+msgstr ""
+
+#: ../rc.d/init.d/halt:65
+msgid "Turning off swap: "
+msgstr ""
+
+#: ../rc.d/init.d/rawdevices:32 ../rc.d/init.d/rawdevices:39
+msgid " rawdevices are now located in the directory /dev/raw/\n"
+msgstr ""
+
+#: ../rc.d/init.d/network:129
+msgid "Devices that are down:\n"
+msgstr ""
+
+#: ../rc.d/init.d/halt:78
+msgid "Unmounting file systems (retry): "
+msgstr ""
+
+#: ../rc.d/rc.sysinit:149
+#, c-format
+msgid "Setting hostname %s: "
+msgstr ""
+
+#: ../rc.d/init.d/network:131
+msgid "Devices with modified configuration:\n"
+msgstr ""
+
+#: ../rc.d/init.d/single:26
+#, c-format
+msgid "Sending all processes the %s signal...\n"
+msgstr ""
+
+#: ../rc.d/init.d/functions:324
+msgid "PASSED"
+msgstr ""
+
+#: ../sysconfig/network-scripts/ifup:77
+#, c-format
+msgid "Delaying %s initialization.\n"
+msgstr ""
+
+#: ../sysconfig/network-scripts/ifup:118
+msgid " failed.\n"
+msgstr ""
+
+#: ../rc.d/init.d/halt:39
+#, c-format
+msgid "%s: call me as 'halt' or 'reboot' please!"
+msgstr ""
+
+#: ../rc.d/rc.sysinit:123
+#, c-format
+msgid "Loading default keymap (%s): "
+msgstr ""
+
+#: ../rc.d/init.d/rawdevices:34 ../rc.d/init.d/rawdevices:41
+msgid " you'll have to upgrade your util-linux package\n"
+msgstr ""
+
+#: ../rc.d/init.d/halt:67
+msgid "Turning off accounting: "
+msgstr ""
+
+#: ../rc.d/rc.sysinit:225 ../rc.d/rc.sysinit:470
+msgid "(Repair filesystem) # "
+msgstr ""
+
+#: ../rc.d/init.d/random:26
+msgid "Initializing random number generator: "
+msgstr ""
+
+#: ../rc.d/init.d/functions:399
+#, c-format
+msgid "Start service %s (Y)es/(N)o/(C)ontinue? [Y] "
+msgstr ""
+
+#: ../rc.d/init.d/random:46
+msgid "The random data source is missing\n"
+msgstr ""
+
+#: ../rc.d/init.d/halt:31
+msgid "The system is halted"
+msgstr ""
+
+#: ../rc.d/rc.sysinit:146
+msgid "Activating swap partitions: "
+msgstr ""
+
+#: ../sysconfig/network-scripts/ifup:14 ../sysconfig/network-scripts/ifup:20
+msgid "usage: ifup <device name>\n"
+msgstr ""
+
+#: ../rc.d/rc.sysinit:222 ../rc.d/rc.sysinit:432 ../rc.d/rc.sysinit:467
+msgid "*** Dropping you to a shell; the system will reboot\n"
+msgstr ""
+
+#: ../rc.d/init.d/halt:61
+msgid "Syncing hardware clock to system time"
+msgstr ""
+
+#: ../rc.d/rc.sysinit:391
+msgid "Starting up RAID devices: "
+msgstr ""
+
+#: ../rc.d/init.d/functions:270
+msgid "Usage: status {program}\n"
+msgstr ""
+
+#: ../rc.d/init.d/network:97
+#, c-format
+msgid "Shutting down interface %s: "
+msgstr ""
+
+#: ../rc.d/init.d/network:116
+msgid "Disabling IPv4 automatic defragmentation: "
+msgstr ""
+
+#: ../rc.d/init.d/network:111
+msgid "Disabling IPv4 packet forwarding: "
+msgstr ""
+
+#: ../rc.d/rc.sysinit:258
+msgid "Remounting root filesystem in read-write mode: "
+msgstr ""
+
+#: ../rc.d/rc.sysinit:173
+msgid "Initializing USB mouse: "
+msgstr ""
+
+#: ../sysconfig/network-scripts/ifup-ppp:47
+msgid "/usr/sbin/pppd does not exist or is not executable\n"
+msgstr ""
+
+#: ../rc.d/init.d/rawdevices:77
+msgid "Usage: rawdevice {start|stop|status|restart}\n"
+msgstr ""
+
+#: ../rc.d/init.d/netfs:55 ../rc.d/init.d/netfs:66 ../rc.d/init.d/netfs:67
+#, c-format
+msgid "Unmounting %s filesystems: "
+msgstr ""
+
+#: ../rc.d/rc.sysinit:371
+msgid "Loading mixer settings: "
+msgstr ""
+
+#: ../rc.d/init.d/functions:401
+msgid "nN"
+msgstr ""
+
+#: ../sysconfig/network-scripts/ifup-sl:45
+#, c-format
+msgid "%s does not exist\n"
+msgstr ""
+
+#: ../rc.d/init.d/single:56
+msgid "Telling INIT to go to single user mode.\n"
+msgstr ""
+
+#: ../rc.d/init.d/random:56
+#, c-format
+msgid "Usage: %s {start|stop|status|restart|reload}\n"
+msgstr ""
+
+#: ../rc.d/init.d/netfs:73 ../rc.d/init.d/netfs:77 ../rc.d/init.d/netfs:81
+#, c-format
+msgid "Configured %s mountpoints:\n"
+msgstr ""
+
+#: ../sysconfig/network-scripts/ifdown:28 ../sysconfig/network-scripts/ifup:30
+msgid "Users cannot control this device.\n"
+msgstr ""
+
+#: ../rc.d/rc.sysinit:473
+msgid "Unmounting file systems"
+msgstr ""
+
+#: ../sysconfig/network-scripts/ifup:86
+#, c-format
+msgid "Enslaving %s to %s"
+msgstr ""
+
+#: ../rc.d/init.d/functions:313
+msgid "FAILED"
+msgstr ""
+
+#: ../rc.d/init.d/halt:35
+msgid "Please stand by while rebooting the system..."
+msgstr ""
+
+#: ../rc.d/rc.sysinit:319
+msgid "Checking root filesystem quotas: "
+msgstr ""
+
+#: ../rc.d/init.d/netfs:53
+#, c-format
+msgid "Unmounting %s filesystems (retry): "
+msgstr ""
+
+#: ../rc.d/init.d/rawdevices:55
+msgid "Assigning devices: "
+msgstr ""
+
+#: ../rc.d/init.d/functions:302
+msgid "OK"
+msgstr ""
+
+#: ../sysconfig/network-scripts/ifup-aliases:65 ../sysconfig/network-scripts/ifup-routes:9
+#, c-format
+msgid "usage: %s <net-device>\n"
+msgstr ""
+
+#: ../rc.d/rc.sysinit:435
+msgid "(RAID Repair) # "
+msgstr ""
+
+#: ../rc.d/init.d/halt:49
+#, c-format
+msgid "Sending all processes the %s signal.."
+msgstr ""
+
+#: ../rc.d/init.d/rawdevices:31 ../rc.d/init.d/rawdevices:38
+msgid " Please correct your /etc/sysconfig/rawdevices:\n"
+msgstr ""
+
+#: ../rc.d/rc.sysinit:170
+msgid "Initializing USB keyboard: "
+msgstr ""
+
+#: ../sysconfig/network-scripts/ifup:114 ../sysconfig/network-scripts/ifup:116
+msgid " done.\n"
+msgstr ""
+
+#: ../rc.d/rc.sysinit:251
+msgid "Skipping ISA PNP configuration at users request: "
+msgstr ""
+
+#: ../rc.d/rc.sysinit:140
+#, c-format
+msgid "Setting default font (%s): "
+msgstr ""
+
+#: ../rc.d/init.d/network:147 ../rc.d/init.d/network:154
+#, c-format
+msgid "Bringing up device %s: "
+msgstr ""
+
+#: ../rc.d/init.d/netfs:85 ../rc.d/init.d/netfs:89 ../rc.d/init.d/netfs:93
+#, c-format
+msgid "Active %s mountpoints:\n"
+msgstr ""
+
+#: ../rc.d/init.d/halt:104
+msgid "On the next boot fsck will be skipped.\n"
+msgstr ""
+
+#: ../rc.d/rc.sysinit:231 ../rc.d/rc.sysinit:441 ../rc.d/rc.sysinit:476
+msgid "Automatic reboot in progress.\n"
+msgstr ""
+
+#: ../rc.d/init.d/functions:285
+#, c-format
+msgid "%s dead but pid file exists\n"
+msgstr ""
+
+#: ../rc.d/rc.sysinit:249
+msgid "Setting up ISA PNP devices: "
+msgstr ""
+
+#: ../sysconfig/network-scripts/ifup-sl:34 ../sysconfig/network-scripts/ifup-sl:46
+#, c-format
+msgid "%s for %s exiting\n"
+msgstr ""
+
+#: ../rc.d/init.d/netfs:97
+msgid "/proc filesystem unavailable\n"
+msgstr ""
+
+#: ../rc.d/rc.sysinit:203
+msgid "Checking root filesystem"
+msgstr ""
+
+#: ../rc.d/init.d/network:134
+msgid "Currently active devices:\n"
+msgstr ""
+
+#: ../rc.d/rc.sysinit:223 ../rc.d/rc.sysinit:433 ../rc.d/rc.sysinit:468
+msgid "*** when you leave the shell.\n"
+msgstr ""
+
+#: ../rc.d/init.d/netfs:108
+#, c-format
+msgid "Usage: %s {start|stop|restart|reload|status}\n"
+msgstr ""
+
+#: ../rc.d/rc.sysinit:43
+msgid "\t\tPress 'I' to enter interactive startup.\n"
+msgstr ""
+
+#: ../rc.d/rc.sysinit:103
+#, c-format
+msgid "Setting clock %s: %s"
+msgstr ""
+
+#: ../rc.d/init.d/functions:400
+msgid "yY"
+msgstr ""
+
+#: ../rc.d/init.d/functions:172
+msgid "Usage: killproc {program} [signal]\n"
+msgstr ""
+
+#: ../sysconfig/network-scripts/ifup-ppp:50
+#, c-format
+msgid "/usr/sbin/pppd does not exist or is not executable for %s\n"
+msgstr ""
+
+#: ../rc.d/init.d/network:157
+#, c-format
+msgid "Briging up alias %s: "
+msgstr ""
+
+#: ../rc.d/rc.sysinit:486
+msgid "Mounting local filesystems: "
+msgstr ""
+
+#: ../rc.d/init.d/functions:402
+msgid "cC"
+msgstr ""
+
+#: ../rc.d/rc.sysinit:228 ../rc.d/rc.sysinit:438
+msgid "Unmounting file systems\n"
+msgstr ""
+
+#: ../rc.d/init.d/network:124
+msgid "Configured devices:\n"
+msgstr ""
+
+#: ../rc.d/rc.sysinit:37
+msgid "\t\t\tWelcome to "
+msgstr ""
+
+#: ../rc.d/rc.sysinit:350 ../rc.d/rc.sysinit:352
+msgid "Finding module dependencies: "
+msgstr ""
+
+#: ../sysconfig/network-scripts/ifup:111
+#, c-format
+msgid "Determining IP information for %s..."
+msgstr ""
+
+#: ../rc.d/rc.sysinit:52
+msgid "Mounting proc filesystem: "
+msgstr ""
+
+#: ../rc.d/init.d/network:200
+#, c-format
+msgid "Usage: %s {start|stop|restart|reload|status|probe}\n"
+msgstr ""
+
+#: ../rc.d/rc.sysinit:125
+msgid "Loading default keymap: "
+msgstr ""
+
+#: ../rc.d/rc.sysinit:163
+msgid "Mounting USB filesystem: "
+msgstr ""
+
+#: ../rc.d/init.d/network:150 ../rc.d/init.d/network:153
+#, c-format
+msgid "Shutting down device %s: "
+msgstr ""
+
+#: ../rc.d/init.d/random:37
+msgid "Saving random seed: "
+msgstr ""
+
+#: ../rc.d/rc.sysinit:128 ../rc.d/rc.sysinit:128
+msgid "Loading default keymap"
+msgstr ""
+
+#: ../rc.d/rc.sysinit:449
+msgid "Checking filesystems"
+msgstr ""
+
+#: ../rc.d/init.d/halt:106
+msgid "On the next boot fsck will be forced.\n"
+msgstr ""
+
+#: ../rc.d/init.d/functions:277
+#, c-format
+msgid "%s (pid %s) is running...\n"
+msgstr ""
+
+#: ../rc.d/rc.sysinit:56
+msgid "Configuring kernel parameters: "
+msgstr ""
+
+#: ../rc.d/rc.sysinit:221 ../rc.d/rc.sysinit:466
+msgid "*** An error occurred during the file system check.\n"
+msgstr ""
+
+#: ../rc.d/init.d/halt:47
+#, c-format
+msgid "Sending all processes the %s signal..."
+msgstr ""
+
+#: ../rc.d/init.d/random:44
+msgid "The random data source exists\n"
+msgstr ""
+
+#: ../rc.d/rc.sysinit:563
+msgid "Enabling swap space: "
+msgstr ""
+
+#: ../rc.d/init.d/halt:99
+msgid "Unmounting proc file system: "
+msgstr ""
+
diff --git a/po/pt_BR.po b/po/pt_BR.po
new file mode 100644
index 00000000..02646f41
--- /dev/null
+++ b/po/pt_BR.po
@@ -0,0 +1,908 @@
+msgid ""
+msgstr ""
+"Project-Id-Version: \n"
+"PO-Revision-Date: YYYY-MM-DD HH:MM TZO DST\n"
+"Last-Translator: \n"
+"Language-Team: <XX@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-1\n"
+"Content-Transfer-Encoding: 8-bit\n"
+
+#: ../rc.d/init.d/network:166
+#, c-format
+msgid "Adding internal IPX network %s %s: "
+msgstr "Adicionando rede IPX interna %s %s: "
+
+#: ../rc.d/init.d/halt:80
+#, fuzzy
+msgid "Unmounting file systems: "
+msgstr "Desmontando sistema de arquivos"
+
+#: ../rc.d/init.d/halt:69
+msgid "Turning off quotas: "
+msgstr "Desligando quotas: "
+
+#: ../rc.d/rc.sysinit:431
+msgid "*** An error occurred during the RAID startup\n"
+msgstr "*** Um erro ocorreu durante a iniciação do RAID\n"
+
+#: ../rc.d/init.d/network:160
+#, c-format
+msgid "Bringing up route %s: "
+msgstr "Levantando rota %s: "
+
+#: ../rc.d/init.d/network:48
+#, c-format
+msgid "Bringing up interface %s: "
+msgstr "Levantando interface %s: "
+
+#: ../rc.d/init.d/netfs:38 ../rc.d/init.d/netfs:40 ../rc.d/init.d/netfs:41
+#, c-format
+msgid "Mounting %s filesystems: "
+msgstr "Montando sistemas de arquivos %s: "
+
+#: ../rc.d/rc.sysinit:167
+msgid "Initializing USB HID interface: "
+msgstr "Iniciando interface HID USB: "
+
+#: ../rc.d/init.d/single:29
+#, c-format
+msgid "Sending all processes the %s signal..\n"
+msgstr "Enviando a todos os processos o sinal %s...\n"
+
+#: ../sysconfig/network-scripts/ifup-sl:33
+#, c-format
+msgid "%s does not exist or is not executable\n"
+msgstr "%s não existe ou não é executável\n"
+
+#: ../sysconfig/network-scripts/ifup-ppp:58
+#, c-format
+msgid "/etc/sysconfig/network-scripts/chat-%s does not exist for %s"
+msgstr "/etc/sysconfig/network-scripts/chat-%s não existe para %s"
+
+#: ../rc.d/init.d/functions:291
+#, c-format
+msgid "%s dead but subsys locked\n"
+msgstr "%s inativo mas seus subsistemas trancados\n"
+
+#: ../rc.d/rc.sysinit:489
+msgid "Checking filesystem quotas: "
+msgstr "Verificando quotas de sistemas de arquivo: "
+
+#: ../rc.d/init.d/network:165 ../rc.d/init.d/network:174
+msgid "Deleting internal IPX network: "
+msgstr "Removendo rede IPX interna: "
+
+#: ../rc.d/init.d/halt:57
+msgid "Saving mixer settings"
+msgstr "Salvando configurações do mixer"
+
+#: ../rc.d/init.d/network:46
+msgid "Setting network parameters: "
+msgstr "Configurando parâmetros de rede: "
+
+#: ../sysconfig/network-scripts/ifdown:12
+#: ../sysconfig/network-scripts/ifdown:18
+#, c-format
+msgid "usage: %s <device name>\n"
+msgstr "uso: %s <nome do dispositivo>\n"
+
+#: ../rc.d/init.d/rawdevices:33 ../rc.d/init.d/rawdevices:40
+msgid " If the command 'raw' still refers to /dev/raw as a file.\n"
+msgstr " Se o comando 'raw' ainda se refere a /dev/raw como arquivo.n\n"
+
+#: ../rc.d/init.d/netfs:43
+msgid "Mounting other filesystems: "
+msgstr "Montando outros sistemas de arquivos: "
+
+#: ../rc.d/init.d/rawdevices:68
+msgid "You need to be root to use this command!\n"
+msgstr "Você precisa ser root para usar esse comando!\n"
+
+#: ../rc.d/rc.sysinit:522
+msgid "Turning on user and group quotas for local filesystems: "
+msgstr "Ligando quotas para sistemas de arquivos locais: "
+
+#: ../sysconfig/network-scripts/ifup-ppp:48
+#, c-format
+msgid "ifup-ppp for %s exiting\n"
+msgstr "ifup-ppp para %s saindo\n"
+
+#: ../rc.d/init.d/functions:294
+#, c-format
+msgid "%s is stopped\n"
+msgstr "%s está parado\n"
+
+#: ../rc.d/init.d/halt:65
+msgid "Turning off swap: "
+msgstr "Desligando espaço de troca: "
+
+#: ../rc.d/init.d/rawdevices:32 ../rc.d/init.d/rawdevices:39
+msgid " rawdevices are now located in the directory /dev/raw/\n"
+msgstr " dispositivos de acesso direto agora estão no diretório /dev/raw\n"
+
+#: ../rc.d/init.d/network:129
+msgid "Devices that are down:\n"
+msgstr "Dispositivos que estão desativados:\n"
+
+#: ../rc.d/init.d/halt:78
+#, fuzzy
+msgid "Unmounting file systems (retry): "
+msgstr "Desmontando sistemas de arquivos %s (de novo): "
+
+#: ../rc.d/rc.sysinit:149
+#, c-format
+msgid "Setting hostname %s: "
+msgstr "Setando hostname %s: "
+
+#: ../rc.d/init.d/network:131
+msgid "Devices with modified configuration:\n"
+msgstr "Dispositivos com configurações modificadas:\n"
+
+#: ../rc.d/init.d/single:26
+#, c-format
+msgid "Sending all processes the %s signal...\n"
+msgstr "Enviando a todos os processos o sinal %s...\n"
+
+#: ../rc.d/init.d/functions:324
+msgid "PASSED"
+msgstr "PASSOU"
+
+#: ../sysconfig/network-scripts/ifup:77
+#, c-format
+msgid "Delaying %s initialization.\n"
+msgstr "Atrasando a iniciação %s.\n"
+
+#: ../sysconfig/network-scripts/ifup:118
+msgid " failed.\n"
+msgstr " falhou.\n"
+
+#: ../rc.d/init.d/halt:39
+#, fuzzy, c-format
+msgid "%s: call me as 'halt' or 'reboot' please!"
+msgstr "%s: execute-me como rc.halt ou rc.reboot por favor!"
+
+#: ../rc.d/rc.sysinit:123
+#, c-format
+msgid "Loading default keymap (%s): "
+msgstr "Carregando mapa de teclado padrão (%s): "
+
+#: ../rc.d/init.d/rawdevices:34 ../rc.d/init.d/rawdevices:41
+msgid " you'll have to upgrade your util-linux package\n"
+msgstr " você terá que atualizar seu pacote util-linux\n"
+
+#: ../rc.d/init.d/halt:67
+msgid "Turning off accounting: "
+msgstr "Desligando accounting: "
+
+#: ../rc.d/rc.sysinit:225 ../rc.d/rc.sysinit:470
+msgid "(Repair filesystem) # "
+msgstr ""
+
+#: ../rc.d/init.d/random:26
+msgid "Initializing random number generator: "
+msgstr "Iniciando gerador de números aleatórios: "
+
+#: ../rc.d/init.d/functions:399
+#, c-format
+msgid "Start service %s (Y)es/(N)o/(C)ontinue? [Y] "
+msgstr "Iniciando serviço %s (S)im/(N)ão/(C)ontinue? [S] "
+
+#: ../rc.d/init.d/random:46
+msgid "The random data source is missing\n"
+msgstr "A fonte de dados aleatórios está perdida\n"
+
+#: ../rc.d/init.d/halt:31
+msgid "The system is halted"
+msgstr "O sistema está parado"
+
+#: ../rc.d/rc.sysinit:146
+msgid "Activating swap partitions: "
+msgstr "Ativando partições de troca: "
+
+#: ../sysconfig/network-scripts/ifup:14 ../sysconfig/network-scripts/ifup:20
+msgid "usage: ifup <device name>\n"
+msgstr "uso: ifup <nome do dispositivo>\n"
+
+#: ../rc.d/rc.sysinit:222 ../rc.d/rc.sysinit:432 ../rc.d/rc.sysinit:467
+msgid "*** Dropping you to a shell; the system will reboot\n"
+msgstr ""
+"*** Entrando em um interpretador de comandos; o sistema será reiniciado\n"
+
+#: ../rc.d/init.d/halt:61
+msgid "Syncing hardware clock to system time"
+msgstr ""
+
+#: ../rc.d/rc.sysinit:391
+msgid "Starting up RAID devices: "
+msgstr "Iniciando os dispositivos de RAID: "
+
+#: ../rc.d/init.d/functions:270
+msgid "Usage: status {program}\n"
+msgstr "Uso: status {programa}\n"
+
+#: ../rc.d/init.d/network:97
+#, c-format
+msgid "Shutting down interface %s: "
+msgstr "Desligando interface %s: "
+
+#: ../rc.d/init.d/network:116
+msgid "Disabling IPv4 automatic defragmentation: "
+msgstr "Desabilitando desfragmentação automática de pacotes IPv4: "
+
+#: ../rc.d/init.d/network:111
+msgid "Disabling IPv4 packet forwarding: "
+msgstr "Desabilitando o repasse de pacotes IPv4: "
+
+#: ../rc.d/rc.sysinit:258
+msgid "Remounting root filesystem in read-write mode: "
+msgstr "Remontando raiz em modo de leitura e escrita: "
+
+#: ../rc.d/rc.sysinit:173
+msgid "Initializing USB mouse: "
+msgstr "Iniciando mouse USB: "
+
+#: ../sysconfig/network-scripts/ifup-ppp:47
+msgid "/usr/sbin/pppd does not exist or is not executable\n"
+msgstr "/usr/sbin/pppd não existe ou não é executável\n"
+
+#: ../rc.d/init.d/rawdevices:77
+msgid "Usage: rawdevice {start|stop|status|restart}\n"
+msgstr "Uso: rawdevice {start|stop|status|restart}\n"
+
+#: ../rc.d/init.d/netfs:55 ../rc.d/init.d/netfs:66 ../rc.d/init.d/netfs:67
+#, c-format
+msgid "Unmounting %s filesystems: "
+msgstr "Desmontando sistemas de arquivos %s: "
+
+#: ../rc.d/rc.sysinit:371
+msgid "Loading mixer settings: "
+msgstr "Carregando configurações do mixer: "
+
+#: ../rc.d/init.d/functions:401
+msgid "nN"
+msgstr "nN"
+
+#: ../sysconfig/network-scripts/ifup-sl:45
+#, c-format
+msgid "%s does not exist\n"
+msgstr "%s nao existe\n"
+
+#: ../rc.d/init.d/single:56
+msgid "Telling INIT to go to single user mode.\n"
+msgstr "Pedindo para o INIT entrar em modo monousuário.\n"
+
+#: ../rc.d/init.d/random:56
+#, c-format
+msgid "Usage: %s {start|stop|status|restart|reload}\n"
+msgstr "Uso: %s {start|stop|status|restart|reload}\n"
+
+#: ../rc.d/init.d/netfs:73 ../rc.d/init.d/netfs:77 ../rc.d/init.d/netfs:81
+#, c-format
+msgid "Configured %s mountpoints:\n"
+msgstr "Configurados os pontos de montagem %s:\n"
+
+#: ../sysconfig/network-scripts/ifdown:28 ../sysconfig/network-scripts/ifup:30
+msgid "Users cannot control this device.\n"
+msgstr "Usuários não podem controlar este dispositivo.\n"
+
+#: ../rc.d/rc.sysinit:473
+msgid "Unmounting file systems"
+msgstr "Desmontando sistema de arquivos"
+
+#: ../sysconfig/network-scripts/ifup:86
+#, c-format
+msgid "Enslaving %s to %s"
+msgstr "Colocando %s como escravo em %s"
+
+#: ../rc.d/init.d/functions:313
+msgid "FAILED"
+msgstr "FALHOU"
+
+#: ../rc.d/init.d/halt:35
+msgid "Please stand by while rebooting the system..."
+msgstr "Por favor aguarde enquanto o sistema reinicia..."
+
+#: ../rc.d/rc.sysinit:319
+msgid "Checking root filesystem quotas: "
+msgstr "Verificando quotas do sistema de arquivos root: "
+
+#: ../rc.d/init.d/netfs:53
+#, c-format
+msgid "Unmounting %s filesystems (retry): "
+msgstr "Desmontando sistemas de arquivos %s (de novo): "
+
+#: ../rc.d/init.d/rawdevices:55
+msgid "Assigning devices: "
+msgstr ""
+
+#: ../rc.d/init.d/functions:302
+msgid "OK"
+msgstr "OK"
+
+#: ../sysconfig/network-scripts/ifup-aliases:65
+#: ../sysconfig/network-scripts/ifup-routes:9
+#, c-format
+msgid "usage: %s <net-device>\n"
+msgstr "uso: %s <dispositivo de rede>\n"
+
+#: ../rc.d/rc.sysinit:435
+msgid "(RAID Repair) # "
+msgstr "(Reparo do RAID) # "
+
+#: ../rc.d/init.d/halt:49
+#, c-format
+msgid "Sending all processes the %s signal.."
+msgstr "Enviando a todos os processos o sinal %s..."
+
+#: ../rc.d/init.d/rawdevices:31 ../rc.d/init.d/rawdevices:38
+msgid " Please correct your /etc/sysconfig/rawdevices:\n"
+msgstr " Por favor corrija seu /etc/sysconfig/rawdevices:\n"
+
+#: ../rc.d/rc.sysinit:170
+msgid "Initializing USB keyboard: "
+msgstr "Iniciando teclado USB: "
+
+#: ../sysconfig/network-scripts/ifup:114 ../sysconfig/network-scripts/ifup:116
+msgid " done.\n"
+msgstr " feito.\n"
+
+#: ../rc.d/rc.sysinit:251
+msgid "Skipping ISA PNP configuration at users request: "
+msgstr "Pulando configuração PNP ISA a pedido do usuário: "
+
+#: ../rc.d/rc.sysinit:140
+#, c-format
+msgid "Setting default font (%s): "
+msgstr "Carregando fonte padrão (%s): "
+
+#: ../rc.d/init.d/network:147 ../rc.d/init.d/network:154
+#, c-format
+msgid "Bringing up device %s: "
+msgstr "Levantando dispositivo %s: "
+
+#: ../rc.d/init.d/netfs:85 ../rc.d/init.d/netfs:89 ../rc.d/init.d/netfs:93
+#, c-format
+msgid "Active %s mountpoints:\n"
+msgstr "Pontos de montagem ativos %s:\n"
+
+#: ../rc.d/init.d/halt:104
+msgid "On the next boot fsck will be skipped.\n"
+msgstr "O fsck não será executado na próxima iniciação.\n"
+
+#: ../rc.d/rc.sysinit:231 ../rc.d/rc.sysinit:441 ../rc.d/rc.sysinit:476
+msgid "Automatic reboot in progress.\n"
+msgstr "Reiniciação automática em progresso.\n"
+
+#: ../rc.d/init.d/functions:285
+#, c-format
+msgid "%s dead but pid file exists\n"
+msgstr "%s interrompido mas existe um arquivo pid\n"
+
+#: ../rc.d/rc.sysinit:249
+msgid "Setting up ISA PNP devices: "
+msgstr "Configurando dispositivos ISA PNP: "
+
+#: ../sysconfig/network-scripts/ifup-sl:34
+#: ../sysconfig/network-scripts/ifup-sl:46
+#, c-format
+msgid "%s for %s exiting\n"
+msgstr "%s para %s saindo\n"
+
+#: ../rc.d/init.d/netfs:97
+msgid "/proc filesystem unavailable\n"
+msgstr "sistema de arquivos /proc não está disponível\n"
+
+#: ../rc.d/rc.sysinit:203
+msgid "Checking root filesystem"
+msgstr "Verificando sistema de arquivos raiz"
+
+#: ../rc.d/init.d/network:134
+msgid "Currently active devices:\n"
+msgstr "Dispositivos ativos no momento:\n"
+
+#: ../rc.d/rc.sysinit:223 ../rc.d/rc.sysinit:433 ../rc.d/rc.sysinit:468
+msgid "*** when you leave the shell.\n"
+msgstr "*** quando você sair do interpretador de comandos.\n"
+
+#: ../rc.d/init.d/netfs:108
+#, c-format
+msgid "Usage: %s {start|stop|restart|reload|status}\n"
+msgstr "Uso: %s {start|stop|restart|reload|status}\n"
+
+#: ../rc.d/rc.sysinit:43
+msgid "\t\tPress 'I' to enter interactive startup.\n"
+msgstr "\t\t Pressione 'I' para entrar em modo interativo.\n"
+
+#: ../rc.d/rc.sysinit:103
+#, c-format
+msgid "Setting clock %s: %s"
+msgstr "Configurando horario %s: %s"
+
+# yY são as possíveis respostas de uma letra para yes - nós usamos sSyY
+#: ../rc.d/init.d/functions:400
+msgid "yY"
+msgstr "sSyY"
+
+#: ../rc.d/init.d/functions:172
+msgid "Usage: killproc {program} [signal]\n"
+msgstr "Uso: killproc {programa} [sinal]\n"
+
+#: ../sysconfig/network-scripts/ifup-ppp:50
+#, c-format
+msgid "/usr/sbin/pppd does not exist or is not executable for %s\n"
+msgstr "/usr/sbin/pppd não existe ou não é executável para %s\n"
+
+#: ../rc.d/init.d/network:157
+#, c-format
+msgid "Briging up alias %s: "
+msgstr "Levantando alias %s: "
+
+#: ../rc.d/rc.sysinit:486
+msgid "Mounting local filesystems: "
+msgstr "Montando sistemas de arquivos locais: "
+
+#: ../rc.d/init.d/functions:402
+msgid "cC"
+msgstr "cC"
+
+#: ../rc.d/rc.sysinit:228 ../rc.d/rc.sysinit:438
+msgid "Unmounting file systems\n"
+msgstr "Desmontando os sistemas de arquivos\n"
+
+#: ../rc.d/init.d/network:124
+msgid "Configured devices:\n"
+msgstr "Dispositivos configurados:\n"
+
+#: ../rc.d/rc.sysinit:37
+msgid "\t\t\tWelcome to "
+msgstr "\t\t\tBem-vindo ao "
+
+#: ../rc.d/rc.sysinit:350 ../rc.d/rc.sysinit:352
+msgid "Finding module dependencies: "
+msgstr "Encontrando dependências dos módulos: "
+
+#: ../sysconfig/network-scripts/ifup:111
+#, c-format
+msgid "Determining IP information for %s..."
+msgstr "Determinando informação de IP para %s..."
+
+#: ../rc.d/rc.sysinit:52
+msgid "Mounting proc filesystem: "
+msgstr "Montando sistema de arquivos proc: "
+
+#: ../rc.d/init.d/network:200
+#, c-format
+msgid "Usage: %s {start|stop|restart|reload|status|probe}\n"
+msgstr "Uso: %s {start|stop|restart|reload|status|probe}\n"
+
+#: ../rc.d/rc.sysinit:125
+msgid "Loading default keymap: "
+msgstr "Recarregando mapa de teclado padrão: "
+
+#: ../rc.d/rc.sysinit:163
+msgid "Mounting USB filesystem: "
+msgstr "Montando sistema de arquivos USB: "
+
+#: ../rc.d/init.d/network:150 ../rc.d/init.d/network:153
+#, c-format
+msgid "Shutting down device %s: "
+msgstr "Desligando dispositivo %s: "
+
+#: ../rc.d/init.d/random:37
+msgid "Saving random seed: "
+msgstr "Gravando semente aleatória: "
+
+#: ../rc.d/rc.sysinit:128
+msgid "Loading default keymap"
+msgstr "Carregando mapa de teclado padrão"
+
+#: ../rc.d/rc.sysinit:449
+msgid "Checking filesystems"
+msgstr "Verificando sistemas de arquivo"
+
+#: ../rc.d/init.d/halt:106
+msgid "On the next boot fsck will be forced.\n"
+msgstr "Na próxima iniciação será forçado o fsck.\n"
+
+#: ../rc.d/init.d/functions:277
+#, c-format
+msgid "%s (pid %s) is running...\n"
+msgstr "%s (pid %s) está rodando...\n"
+
+#: ../rc.d/rc.sysinit:56
+msgid "Configuring kernel parameters: "
+msgstr "Configurando parametros do kernel: "
+
+#: ../rc.d/rc.sysinit:221 ../rc.d/rc.sysinit:466
+msgid "*** An error occurred during the file system check.\n"
+msgstr "*** Um erro occoreu durante a checagem do sistema de arquivos.\n"
+
+#: ../rc.d/init.d/halt:47
+#, c-format
+msgid "Sending all processes the %s signal..."
+msgstr "Enviando a todos os processos o sinal %s..."
+
+#: ../rc.d/init.d/random:44
+msgid "The random data source exists\n"
+msgstr "A fonte de dados aleatórios existe\n"
+
+#: ../rc.d/rc.sysinit:563
+msgid "Enabling swap space: "
+msgstr "Ligando espaço de troca: "
+
+#: ../rc.d/init.d/halt:99
+msgid "Unmounting proc file system: "
+msgstr "Desmontando sistema de arquivos proc: "
+
+#~ msgid "Starting %s service: "
+#~ msgstr "Iniciando o serviço %s: "
+
+#~ msgid "No LDAP_SERVER specified!\n"
+#~ msgstr "Nenhum LDAP_SERVER especificado!\n"
+
+#~ msgid "Stopping %s daemon: "
+#~ msgstr "Parando o servidor %s: "
+
+#~ msgid "Restarting %s: "
+#~ msgstr "Reiniciando %s: "
+
+#~ msgid "Shutting down %s services: \n"
+#~ msgstr "Desligando os serviços %s: \n"
+
+#~ msgid "Shutting down %s services: "
+#~ msgstr "Desligando os serviços %s: "
+
+#~ msgid "This is required for the SPOP3 service.\n"
+#~ msgstr "Isso é necessário para serviço SPOP3.\n"
+
+#~ msgid "Usage: pidofproc {program}\n"
+#~ msgstr "Uso: pidofproc {programa}\n"
+
+#~ msgid "\t\tPress 'I' to enter interactive startup."
+#~ msgstr "\t\t Pressione 'I' para entrar em modo interativo."
+
+#~ msgid "ERROR: %s not found\n"
+#~ msgstr "ERRO: %s não encontrado\n"
+
+#~ msgid "Reloading %s: "
+#~ msgstr "Recarregando %s: "
+
+#~ msgid "%s is stopped"
+#~ msgstr "%s está parado"
+
+#~ msgid "unable to create temporary file\n"
+#~ msgstr "não é possível criar o arquivo temporário\n"
+
+#~ msgid "Must specificate a certificate file in server mode\n"
+#~ msgstr ""
+#~ "É necessário especificar um arquivo de certificado quando em modo servidor\n"
+
+#~ msgid " "
+#~ msgstr " "
+
+#~ msgid "Activating logical volumes: "
+#~ msgstr "Ativando volumes logicos: "
+
+#~ msgid "Usage: %s {start|stop|restart|status}\n"
+#~ msgstr "Uso: %s {start|stop|restart|status}\n"
+
+#~ msgid "the MySQL root password. Without this, you are not \n"
+#~ msgstr "a senha de root do MySQL. Sem isso você não \n"
+
+#~ msgid "Stopping %s"
+#~ msgstr "Interrompendo %s"
+
+#~ msgid "Usage: %s {start|stop|status|restart}\n"
+#~ msgstr "Uso: %s {start|stop|status|restart}\n"
+
+#~ msgid "Check your /etc/sysconfig/stunnel file.\n"
+#~ msgstr "Verifique seu arquivo /etc/sysconfig/stunnel.\n"
+
+#~ msgid "Shutting down %s: "
+#~ msgstr "Desligando %s: "
+
+#~ msgid "Shutting down papd service: "
+#~ msgstr "Desligando o serviço papd: "
+
+#~ msgid "Usage: mysql {start|stop|status|restart}\n"
+#~ msgstr "Uso: mysql {start|stop|status|restart}\n"
+
+#~ msgid "Check /etc/sysconfig/stunnel\n"
+#~ msgstr "Verifique /etc/sysconfig/stunnel\n"
+
+#~ msgid "Shutting down afpd service: "
+#~ msgstr "Desligando os serviços afpd: "
+
+#~ msgid "Start %s\n"
+#~ msgstr "Iniciar %s\n"
+
+#~ msgid "Shutting down %s "
+#~ msgstr "Desligando %s "
+
+#~ msgid "Must specificate a certificate file to use SPOP3!\n"
+#~ msgstr ""
+#~ "É necessário especificar um arquivo de certificado para usar SPOP3!\n"
+
+#~ msgid "Loading system font: "
+#~ msgstr "Carregando fonte de sistema: "
+
+#~ msgid "Stopping %s services: "
+#~ msgstr "Interrompendo os serviços %s: "
+
+#~ msgid "Usage: %s {start|stop|restart}\n"
+#~ msgstr "Uso: %s {start|stop|restart}\n"
+
+#~ msgid "Setting NIS domain name %s: "
+#~ msgstr "Setando nome de domínio NIS %s: "
+
+#~ msgid "%s is stoppped"
+#~ msgstr "%s está parado"
+
+#~ msgid "Hardware configuration timed out.\n"
+#~ msgstr "Tempo de configuração do hardware esgotado.\n"
+
+#~ msgid "Starting %s "
+#~ msgstr "Iniciando %s "
+
+#~ msgid "allowed to startup the server.\n"
+#~ msgstr "permitido para iniciar o servidor.\n"
+
+#~ msgid "%s is not running\n"
+#~ msgstr "%s não está rodando\n"
+
+#~ msgid "Usage: atalk {start|stop|restart|status}"
+#~ msgstr "Uso: atalk {start|stop|restart|status}"
+
+#~ msgid "Please run '/usr/sbin/mysql_createdb' to setup \n"
+#~ msgstr "Por favor execute '/usr/sbin/mysql_createdb' para configurar \n"
+
+#~ msgid "Starting ldirectord"
+#~ msgstr "Iniciando ldirectord: "
+
+#~ msgid "Run '/usr/sbin/kudzu' from the command line to re-detect.\n"
+#~ msgstr "Execute '/usr/sbin/kudzu' na linha de comando para redetectar.\n"
+
+#~ msgid "Turning off RAID for %s: "
+#~ msgstr "Desligando RAID para %s: "
+
+#~ msgid "Starting %s"
+#~ msgstr "Iniciando %s"
+
+#~ msgid "(hdparm not configured)"
+#~ msgstr "(hdparm não configurado)"
+
+#~ msgid "Usage: %s {start|stop|status|reload}\n"
+#~ msgstr "Uso: %s {start|stop|status|reload}\n"
+
+#~ msgid "%s is already running\n"
+#~ msgstr "%s já está rodando\n"
+
+#~ msgid "Binding to the %s domain... "
+#~ msgstr "Ligando ao domínio %s... "
+
+#~ msgid "%s: this script must be run as root\n"
+#~ msgstr "%s: esse script precisa ser executado como root\n"
+
+#~ msgid "Check the SPOP3_CERTIFICATE_FILE line in /etc/sysconfig/stunnel."
+#~ msgstr ""
+#~ "Verifique sua linha SPOP3_CERTIFICATE_LINE em /etc/sysconfig/stunnel."
+
+#~ msgid "Can't execute %s\n"
+#~ msgstr "Não é possível executar %s\n"
+
+#~ msgid "Starting AppleTalk services: "
+#~ msgstr "Iniciando os serviços AppleTalk: "
+
+#~ msgid "creating swap directories, wait... "
+#~ msgstr "criando diretórios de swap, espere... "
+
+#~ msgid "Starting %s server: "
+#~ msgstr "Iniciando o servidor %s: "
+
+#~ msgid "%s is not running.\n"
+#~ msgstr "%s não está rodando.\n"
+
+#~ msgid "Usage: %s {start|stop|status|restart|reload}"
+#~ msgstr "Uso: %s {start|stop|status|restart|reload}"
+
+#~ msgid "Usage: %s {start|stop}\n"
+#~ msgstr "Uso: %s {start|stop}\n"
+
+#~ msgid "%s not found! "
+#~ msgstr "%s não encontrado! "
+
+#~ msgid "Loading mixer settings"
+#~ msgstr "Carregando configurações do mixer"
+
+#~ msgid "Restarting %s"
+#~ msgstr "Reiniciando %s"
+
+#~ msgid "Starting afpd service: "
+#~ msgstr "Iniciando o serviço afpd: "
+
+#~ msgid "Starting %s services: \n"
+#~ msgstr "Iniciando os serviços %s: \n"
+
+#~ msgid "Usage: %s {start|stop|status|restart|reload|test}\n"
+#~ msgstr "Uso: %s {start|stop|status|restart|reload|test}\n"
+
+#~ msgid "Shutting down AppleTalk services: "
+#~ msgstr "Desligando os serviços AppleTalk: "
+
+#~ msgid "Stopping %s: "
+#~ msgstr "Interrompendo %s: "
+
+#~ msgid "Usage: %s start|stop|restart|status}"
+#~ msgstr "Uso: %s start|stop|restart|status}"
+
+#~ msgid "Stopping ldirectord"
+#~ msgstr "Parando ldirectord"
+
+#~ msgid "Starting %s: "
+#~ msgstr "Iniciando %s: "
+
+#~ msgid "Syncing time for xntpd\n"
+#~ msgstr "Sincronizando tempo para xntpd\n"
+
+#~ msgid "Loading keymap: "
+#~ msgstr "Recarregando mapa de teclado: "
+
+#~ msgid "Reloading %s service: "
+#~ msgstr "Recarregando o serviço %s:"
+
+#~ msgid "Turning off RAID: "
+#~ msgstr "Desligando RAID: "
+
+#~ msgid "Starting %s %s"
+#~ msgstr "Iniciando %s %s"
+
+#~ msgid "%s Mount Points\n"
+#~ msgstr "Pontos de Montagem %s\n"
+
+#~ msgid "Stopping %s service: "
+#~ msgstr "Interrompendo o serviço %s: "
+
+#~ msgid "rpc.umountd "
+#~ msgstr "rpc.mountd "
+
+#~ msgid "This is required in SERVER mode only\n"
+#~ msgstr "Isso é necessário em modo SERVER apenas.\n"
+
+#~ msgid "Verifying changes in %s...\n"
+#~ msgstr "Verificando mudanças em %s...\n"
+
+#~ msgid "\n"
+#~ msgstr "\n"
+
+#~ msgid "%s not found. Running initdb"
+#~ msgstr "%s não encontrado. Rodando initdb "
+
+#~ msgid "Starting papd service: "
+#~ msgstr "Iniciando o serviço papd: "
+
+#~ msgid "(mouse not configured)"
+#~ msgstr "(mouse não configurado)"
+
+#~ msgid "Starting %s daemon: "
+#~ msgstr "Iniciando servidor o %s: "
+
+#~ msgid "Usage: %s {start|stop|restart|status}"
+#~ msgstr "Uso: %s {start|stop|restart|status}"
+
+#~ msgid "Checking for new hardware\n"
+#~ msgstr "Procurando novo hardware\n"
+
+#~ msgid "Loading DRBD module"
+#~ msgstr "Carregando módulo DRBD"
+
+#~ msgid "Unloading DRBD module"
+#~ msgstr "Descarregando módulo DRBD"
+
+#~ msgid "Usage: killprocparent {program} [signal]\n"
+#~ msgstr "Uso: killprocparent {programa} [sinal]\n"
+
+#~ msgid "Usage: %s {start|stop|status|reload|restart}\n"
+#~ msgstr "Uso: %s {start|stop|status|reload|restart}\n"
+
+#~ msgid "Check /etc/sysconfig/stunnel"
+#~ msgstr "Verifique /etc/sysconfig/stunnel"
+
+#~ msgid "%s isn't running"
+#~ msgstr "%s não está rodando"
+
+#~ msgid "No status available for this package\n"
+#~ msgstr "Nenhum estado disponível para este pacote\n"
+
+#~ msgid "Listening for an %s domain server: "
+#~ msgstr "Aguardando por um servidor de domínios em %s: "
+
+#~ msgid "Starting %s services: "
+#~ msgstr "Iniciando os serviços %s: "
+
+#~ msgid "Stop %s\n"
+#~ msgstr "Parar %s\n"
+
+#~ msgid "Stopping %s server: "
+#~ msgstr "Interrompendo o servidor %s: "
+
+#~ msgid "rpc.mountd "
+#~ msgstr "rpc.mountd "
+
+#~ msgid "Usage: pidoffather <program>\n"
+#~ msgstr "Uso: pidoffather <programa>\n"
+
+#~ msgid "Restarting %s services: "
+#~ msgstr "Reiniciando os serviços %s: "
+
+#~ msgid "Usage: %s {start|stop|status|restart}"
+#~ msgstr "Uso: %s {start|stop|status|restart}"
+
+#~ msgid "Uso: %s {start|stop}\n"
+#~ msgstr "Uso: %s {start|stop}\n"
+
+#~ msgid "sshd shutdown"
+#~ msgstr "desligamento do sshd"
+
+#~ msgid "gated done\n"
+#~ msgstr "gated terminou\n"
+
+#~ msgid "Usage: %s start\n"
+#~ msgstr "Uso: %s start\n"
+
+#~ msgid "Automatic reboot in progress."
+#~ msgstr "Reiniciação automática em progresso."
+
+#~ msgid "%s: Usage: daemon [+/-nicelevel] {program}\n"
+#~ msgstr "%s: Uso: daemon [+/-nicelevel] {programa}\n"
+
+#~ msgid "Enabling IPv4 packet forwarding."
+#~ msgstr "Habilitando envio de pacote IPv4."
+
+#~ msgid ""
+#~ "/proc/sys/net/ipv4/ip_forward is missing -- cannot control IP forwarding\n"
+#~ msgstr ""
+#~ "/proc/sys/net/ipv4/ip_forward faltando -- impossível controlar IP "
+#~ "forwarding\n"
+
+#~ msgid "Restarting %s. "
+#~ msgstr "Reiniciando %s. "
+
+#~ msgid "%s final setup\n"
+#~ msgstr "%s ajuste final\n"
+
+#~ msgid "Status %s server: "
+#~ msgstr "Status do servidor %s :"
+
+#~ msgid "%s sound board detected.\n"
+#~ msgstr "%s placa de som detectada.\n"
+
+#~ msgid "%s device not detected.\n"
+#~ msgstr "%s dispositivo não detectado.\n"
+
+#~ msgid "%s board not configured.\n"
+#~ msgstr "placa de %s nao configurada.\n"
+
+#~ msgid "(see documentation for where to get that driver)"
+#~ msgstr "(veja documentação de onde obter este driver)"
+
+#~ msgid "%s device present.\n"
+#~ msgstr "dispositivo %s presente.\n"
+
+#~ msgid "Cannot start Pluto, system lacks /dev/random !!!"
+#~ msgstr "Não pode inicializar Pluto, falta /dev/random !!!"
+
+#~ msgid "sound"
+#~ msgstr "som"
+
+#~ msgid "Restarting %s services: \n"
+#~ msgstr "Reinicializando os serviços %s :\n"
+
+#~ msgid "Saving %s configuration: "
+#~ msgstr "Salvando configuração %s :"
+
+#~ msgid "done\n"
+#~ msgstr "feito\n"
+
+#~ msgid "Status %s: "
+#~ msgstr "Status %s:"
diff --git a/po/xgettext_sh b/po/xgettext_sh
new file mode 100644
index 00000000..a9f1f6de
--- /dev/null
+++ b/po/xgettext_sh
@@ -0,0 +1,27 @@
+#!/usr/bin/python
+
+# xgettext_sh -- extracts translatable strings from a shell script
+# Copyright (C) 1999 Conectiva Consultoria e Desenvolvimento de Sistemas LTDA
+#
+# 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 of the License, 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., 675 Mass Ave, Cambridge, MA 02139, USA.
+
+from sys import path
+if not '/usr/lib/conectiva/xgettext_sh' in path:
+ path[:0] = ['/usr/lib/conectiva/xgettext_sh']
+
+from xgettext_sh import main
+
+if __name__ == '__main__':
+ main()
diff --git a/po/xgettext_sh.py b/po/xgettext_sh.py
new file mode 100644
index 00000000..99b331b6
--- /dev/null
+++ b/po/xgettext_sh.py
@@ -0,0 +1,93 @@
+#!/usr/bin/python
+# sh_xgettext
+# Arnaldo Carvalho de Melo <acme@conectiva.com.br>
+# Wed Mar 10 10:24:35 EST 1999
+# Copyright Conectiva Consultoria e Desenvolvimento de Sistemas LTDA
+#
+# 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 of the License, 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., 675 Mass Ave, Cambridge, MA 02139, USA.
+#
+# Changelog
+# Mon May 31 1999 Wanderlei Antonio Cavassin <cavassin@conectiva.com>
+# * option --initscripts
+
+
+from sys import argv
+from string import find, split, strip
+
+s = {}
+
+def xgettext(arq, tokens_i18n):
+ line = 0
+ f = open(arq, "r")
+ while 1:
+ l = f.readline()
+ if not l: break
+ line = line + 1
+ if l[0:1] == '#': continue
+ elif l[0:1] == '\n': continue
+ else:
+ for token in tokens_i18n:
+ pos = find(l, token + ' "')
+ if pos != -1:
+ text = split(l[pos:], '"')[1]
+ if find (text, '$') != -1:
+ continue
+ if s.has_key(text):
+ s[text].append((arq, line))
+ else:
+ s[text] = [(arq, line)]
+ f.close()
+
+def print_header():
+ print 'msgid ""'
+ print 'msgstr ""'
+ print '"Project-Id-Version: \\n"'
+ print '"PO-Revision-Date: YYYY-MM-DD HH:MM TZO DST\\n"'
+ print '"Last-Translator: \\n"'
+ print '"Language-Team: <XX@li.org>\\n"'
+ print '"MIME-Version: 1.0\\n"'
+ print '"Content-Type: text/plain; charset=ISO-8859-1\\n"'
+ print '"Content-Transfer-Encoding: 8-bit\\n"\n'
+
+def print_pot():
+ print_header()
+
+ for text in s.keys():
+ print '#:',
+ for p in s[text]:
+ print '%s:%d' % p,
+ if find(text, '%') != -1:
+ print '\n#, c-format',
+ print '\nmsgid "' + text + '"'
+ print 'msgstr ""\n'
+
+def main():
+ i18n_tokens = []
+ i18n_tokens.append('gprintf')
+ if '--initscripts' in argv:
+ i18n_tokens.append('action')
+ i18n_tokens.append('failure')
+ i18n_tokens.append('passed')
+ i18n_tokens.append('runcmd')
+ i18n_tokens.append('success')
+ argv.remove('--initscripts')
+
+ for a in argv:
+ xgettext(a, i18n_tokens)
+
+ print_pot()
+
+if __name__ == '__main__':
+ main()
diff --git a/rc.d/init.d/functions b/rc.d/init.d/functions
index ac112eb3..03ec4ce5 100755
--- a/rc.d/init.d/functions
+++ b/rc.d/init.d/functions
@@ -8,6 +8,11 @@
# Author: Miquel van Smoorenburg, <miquels@drinkel.nl.mugnet.org>
# Hacked by: Greg Galloway and Marc Ewing
#
+#
+# i18n originally by: Arnaldo Carvalho de Melo <acme@conectiva.com.br>,
+# Wanderlei Antonio Cavassin
+TEXTDOMAIN=initscripts
+TEXTDOMAINDIR=/etc/locale
# First set up a default search path.
export PATH="/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin"
@@ -49,6 +54,49 @@ else
INITLOG_ARGS=
fi
+if [ -z "$GP_LANG" -a -f /etc/sysconfig/i18n ]; then
+ GP_LANG=$(sed -n 's/"//g ; s/^LANG=//p' /etc/sysconfig/i18n )
+fi
+
+gprintf() {
+ if [ -x /usr/bin/gettext ]; then
+ local TEXT=`LC_MESSAGES=$GP_LANG gettext -e --domain=$TEXTDOMAIN "$1"`
+ else
+ local TEXT=$1
+ fi
+ [ "${1#*\\n}" ] || TEXT="$TEXT\n"
+ shift
+ printf "$TEXT" "$@"
+}
+
+# Frontend to gprintf (support up to 4 %s in format string)
+# returns the message transleted in GPRINTF_MSG and
+# the resting parms in GPRINTF_REST
+# This simplifies a lot the call of functions like action,
+# now with i18n support
+gprintf_msg_rest() {
+case "$1" in
+ *%s*%s*%s*%s*)
+ GPRINTF_MSG=$(gprintf "$1" "$2" "$3" "$4" "$5")
+ shift 5;;
+ *%s*%s*%s*)
+ GPRINTF_MSG=$(gprintf "$1" "$2" "$3" "$4")
+ shift 4;;
+ *%s*%s*)
+ GPRINTF_MSG=$(gprintf "$1" "$2" "$3")
+ shift 3;;
+ *%s*)
+ GPRINTF_MSG=$(gprintf "$1" "$2")
+ shift 2;;
+ *)
+ GPRINTF_MSG=$(gprintf "$1")
+ shift;;
+esac
+GPRINTF_REST="$@"
+}
+
+
+
# Check if $pid (could be plural) are running
checkpid() {
while [ "$1" ]; do
@@ -67,7 +115,7 @@ daemon() {
nicelevel=0
while [ "$1" != "${1##-}" -o "$1" != "${1##+}" ]; do
case $1 in
- '') echo '$0: Usage: daemon [+/-nicelevel] {program}'
+ '') gprintf "$0: Usage: daemon [+/-nicelevel] {program}\n" $0
return 1;;
--check)
shift
@@ -121,7 +169,7 @@ killproc() {
RC=0
# Test syntax.
if [ $# = 0 ]; then
- echo "Usage: killproc {program} [signal]"
+ gprintf "Usage: killproc {program} [signal]\n"
return 1
fi
@@ -219,14 +267,14 @@ status() {
# Test syntax.
if [ $# = 0 ] ; then
- echo "Usage: status {program}"
+ gprintf "Usage: status {program}\n"
return 1
fi
# First try "pidof"
pid=`pidof -o $$ -o $PPID -o %PPID -x ${base}`
if [ "$pid" != "" ] ; then
- echo "${base} (pid $pid) is running..."
+ gprintf "%s (pid %s) is running...\n" "${base}" "$pid"
return 0
fi
@@ -234,16 +282,16 @@ status() {
if [ -f /var/run/${base}.pid ] ; then
pid=`cat /var/run/${base}.pid | { read foo ; echo $foo ; }`
if [ "$pid" != "" ] ; then
- echo "${base} dead but pid file exists"
+ gprintf "%s dead but pid file exists\n" "${base}"
return 1
fi
fi
# See if /var/lock/subsys/${base} exists
if [ -f /var/lock/subsys/${base} ]; then
- echo "${base} dead but subsys locked"
+ gprintf "%s dead but subsys locked\n" "${base}"
return 2
fi
- echo "${base} is stopped"
+ gprintf "%s is stopped\n" "${base}"
return 3
}
@@ -251,7 +299,7 @@ echo_success() {
[ "$BOOTUP" = "color" ] && $MOVE_TO_COL
echo -n "[ "
[ "$BOOTUP" = "color" ] && $SETCOLOR_SUCCESS
- echo -n "OK"
+ gprintf "OK"
[ "$BOOTUP" = "color" ] && $SETCOLOR_NORMAL
echo -n " ]"
echo -ne "\r"
@@ -262,7 +310,7 @@ echo_failure() {
[ "$BOOTUP" = "color" ] && $MOVE_TO_COL
echo -n "["
[ "$BOOTUP" = "color" ] && $SETCOLOR_FAILURE
- echo -n "FAILED"
+ gprintf "FAILED"
[ "$BOOTUP" = "color" ] && $SETCOLOR_NORMAL
echo -n "]"
echo -ne "\r"
@@ -273,7 +321,7 @@ echo_passed() {
[ "$BOOTUP" = "color" ] && $MOVE_TO_COL
echo -n "["
[ "$BOOTUP" = "color" ] && $SETCOLOR_WARNING
- echo -n "PASSED"
+ gprintf "PASSED"
[ "$BOOTUP" = "color" ] && $SETCOLOR_NORMAL
echo -n "]"
echo -ne "\r"
@@ -282,11 +330,13 @@ echo_passed() {
# Log that something succeeded
success() {
+ gprintf_msg_rest "$@"
if [ -z "$IN_INITLOG" ]; then
- initlog $INITLOG_ARGS -n $0 -s "$1" -e 1
+ initlog $INITLOG_ARGS -n $0 -s "$GPRINTF_MSG" -e 1
else
# silly hack to avoid EPIPE killing rc.sysinit
trap "" SIGPIPE
+# FIXME?
echo "$INITLOG_ARGS -n $0 -s \"$1\" -e 1" >&21
trap - SIGPIPE
fi
@@ -297,11 +347,12 @@ success() {
# Log that something failed
failure() {
rc=$?
+ gprintf_msg_rest "$@"
if [ -z "$IN_INITLOG" ]; then
- initlog $INITLOG_ARGS -n $0 -s "$1" -e 2
+ initlog $INITLOG_ARGS -n $0 -s "$GPRINTF_MSG" -e 2
else
trap "" SIGPIPE
- echo "$INITLOG_ARGS -n $0 -s \"$1\" -e 2" >&21
+ echo "-n $0 -s \"$GPRINTF_MSG\" -e 1" >&21
trap - SIGPIPE
fi
[ "$BOOTUP" != "verbose" ] && echo_failure
@@ -311,10 +362,12 @@ failure() {
# Log that something passed, but may have had errors. Useful for fsck
passed() {
rc=$?
+ gprintf_msg_rest "$@"
if [ -z "$IN_INITLOG" ]; then
- initlog $INITLOG_ARGS -n $0 -s "$1" -e 1
+ initlog $INITLOG_ARGS -n $0 -s "$GPRINTF_MSG" -e 1
else
trap "" SIGPIPE
+#FIXME?
echo "$INITLOG_ARGS -n $0 -s \"$1\" -e 1" >&21
trap - SIGPIPE
fi
@@ -324,32 +377,39 @@ passed() {
# Run some action. Log its output.
action() {
- STRING=$1
- echo -n "$STRING "
- shift
- initlog $INITLOG_ARGS -c "$*" && success "$STRING" || failure "$STRING"
+ gprintf_msg_rest "$@"
+ echo -n "$GPRINTF_MSG "
+ initlog $INITLOG_ARGS -c "$GPRINTF_REST" && success "$GPRINTF_MSG" || failure "$GPRINTF_MSG"
rc=$?
echo
return $rc
}
+# returns OK if $1 contains $2
+strstr() {
+ [ "$1" = "$2" ] && return 0
+ slice=${1#*$2*}
+ [ "$slice" = "$1" ] && return 1
+ return 0
+}
+
+
# Confirm whether we really want to run this service
confirm() {
- echo -n "Start service $1 (Y)es/(N)o/(C)ontinue? [Y] "
+ gprintf "Start service %s (Y)es/(N)o/(C)ontinue? [Y] " $1
+ local YES=`gprintf "yY"`
+ local NOT=`gprintf "nN"`
+ local CNT=`gprintf "cC"`
+
read answer
- case $answer in
- y|Y|"")
- return 0
- ;;
- c|C)
- return 2
- ;;
- n|N)
- return 1
- ;;
- *)
- confirm $1
- return $?
- ;;
- esac
+
+ if strstr "$YES" "$answer" || [ "$answer" = "" ] ; then
+ return 0
+ elif strstr "$CNT" "$answer" ; then
+ return 2
+ elif strstr "$NOT" "$answer" ; then
+ return 1
+ fi
+ confirm $*
+
}
diff --git a/rc.d/init.d/halt b/rc.d/init.d/halt
index 362a4c5f..095b0e74 100755
--- a/rc.d/init.d/halt
+++ b/rc.d/init.d/halt
@@ -14,12 +14,13 @@ PATH=/sbin:/bin:/usr/bin:/usr/sbin
. /etc/init.d/functions
runcmd() {
- echo -n "$1 "
+ gprintf_msg_rest "$@"
+ echo -n "$GPRINTF_MSG "
shift
if [ "$BOOTUP" = "color" ]; then
- $* && echo_success || echo_failure
+ $GPRINTF_REST && echo_success || echo_failure
else
- $*
+ $GPRINTF_REST
fi
echo
}
@@ -27,15 +28,15 @@ runcmd() {
# See how we were called.
case "$0" in
*halt)
- message="The system is halted"
+ message=`gprintf "The system is halted"`
command="halt"
;;
*reboot)
- message="Please stand by while rebooting the system..."
+ message=`gprintf "Please stand by while rebooting the system..."`
command="reboot"
;;
*)
- echo "$0: call me as \"rc.halt\" or \"rc.reboot\" please!"
+ gprintf "%s: call me as 'halt' or 'reboot' please!" $0
exit 1
;;
esac
@@ -43,9 +44,9 @@ esac
# Kill all processes.
[ "${BASH+bash}" = bash ] && enable kill
-runcmd "Sending all processes the TERM signal..." /sbin/killall5 -15
+runcmd "Sending all processes the %s signal..." "TERM" /sbin/killall5 -15
sleep 5
-runcmd "Sending all processes the KILL signal..." /sbin/killall5 -9
+runcmd "Sending all processes the %s signal.." "KILL" /sbin/killall5 -9
# Write to wtmp file before unmounting /var
halt -w
@@ -100,9 +101,9 @@ runcmd "Unmounting proc file system: " umount /proc
# Now halt or reboot.
echo "$message"
if [ -f /fastboot ]; then
- echo "On the next boot fsck will be skipped."
+ gprintf "On the next boot fsck will be skipped.\n"
elif [ -f /forcefsck ]; then
- echo "On the next boot fsck will be forced."
+ gprintf "On the next boot fsck will be forced.\n"
fi
HALTARGS="-i -d"
diff --git a/rc.d/init.d/netfs b/rc.d/init.d/netfs
index fbb8ce64..3d18afd6 100755
--- a/rc.d/init.d/netfs
+++ b/rc.d/init.d/netfs
@@ -35,10 +35,10 @@ case "$1" in
[ -n "$NFSFSTAB" ] &&
{
[ ! -f /var/lock/subsys/portmap ] && service portmap start
- action "Mounting NFS filesystems: " mount -a -t nfs
+ action "Mounting %s filesystems: " NFS mount -a -t nfs
}
- [ -n "$SMBFSTAB" ] && action "Mounting SMB filesystems: " mount -a -t smbfs
- [ -n "$NCPFSTAB" ] && action "Mounting NCP filesystems: " mount -a -t ncpfs
+ [ -n "$SMBFSTAB" ] && action "Mounting %s filesystems: " SMB mount -a -t smbfs
+ [ -n "$NCPFSTAB" ] && action "Mounting %s filesystems: " NCP mount -a -t ncpfs
touch /var/lock/subsys/netfs
action "Mounting other filesystems: " mount -a -t nonfs,smbfs,ncpfs
;;
@@ -50,9 +50,9 @@ case "$1" in
while [ -n "$remaining" -a "$retry" -gt 0 ]
do
if [ "$retry" -lt 3 ]; then
- action "Unmounting NFS filesystems (retry): " umount -f -a -t nfs
+ action "Unmounting %s filesystems (retry): " NFS umount -f -a -t nfs
else
- action "Unmounting NFS filesystems: " umount -f -a -t nfs
+ action "Unmounting %s filesystems: " NFS umount -f -a -t nfs
fi
sleep 2
remaining=`awk '!/^#/ && $3 ~ /^nfs/ && $2 != "/" {print $2}' /proc/mounts`
@@ -63,38 +63,38 @@ case "$1" in
sig=-9
done
}
- [ -n "$SMBMTAB" ] && action "Unmounting SMB filesystems: " umount -a -t smbfs
- [ -n "$NCPMTAB" ] && action "Unmounting NCP filesystems: " umount -a -t ncpfs
+ [ -n "$SMBMTAB" ] && action "Unmounting %s filesystems: " SMB umount -a -t smbfs
+ [ -n "$NCPMTAB" ] && action "Unmounting %s filesystems: " NCP umount -a -t ncpfs
rm -f /var/lock/subsys/netfs
;;
status)
if [ -f /proc/mounts ] ; then
[ -n "$NFSFSTAB" ] && {
- echo "Configured NFS mountpoints: "
+ gprintf "Configured %s mountpoints:\n" NFS
for fs in $NFSFSTAB; do echo $fs ; done
}
[ -n "$SMBFSTAB" ] && {
- echo "Configured SMB mountpoints: "
+ gprintf "Configured %s mountpoints:\n" SMB
for fs in $SMBFSTAB; do echo $fs ; done
}
[ -n "$NCPFSTAB" ] && {
- echo "Configured NCP mountpoints: "
+ gprintf "Configured %s mountpoints:\n" NCP
for fs in $NCPFSTAB; do echo $fs ; done
}
[ -n "$NFSMTAB" ] && {
- echo "Active NFS mountpoints: "
+ gprintf "Active %s mountpoints:\n" NFS
for fs in $NFSMTAB; do echo $fs ; done
}
[ -n "$SMBMTAB" ] && {
- echo "Active SMB mountpoints: "
+ gprintf "Active %s mountpoints:\n" SMB
for fs in $SMBMTAB; do echo $fs ; done
}
[ -n "$NCPMTAB" ] && {
- echo "Active NCP mountpoints: "
+ gprintf "Active %s mountpoints:\n" NCP
for fs in $NCPMTAB; do echo $fs ; done
}
else
- echo "/proc filesystem unavailable"
+ gprintf "/proc filesystem unavailable\n"
fi
;;
restart)
@@ -105,7 +105,7 @@ case "$1" in
$0 start
;;
*)
- echo "Usage: netfs {start|stop|restart|reload|status}"
+ gprintf "Usage: %s {start|stop|restart|reload|status}\n" netfs
exit 1
esac
diff --git a/rc.d/init.d/network b/rc.d/init.d/network
index 6e348d52..46f84493 100755
--- a/rc.d/init.d/network
+++ b/rc.d/init.d/network
@@ -45,7 +45,7 @@ case "$1" in
action "Setting network parameters: " sysctl -p /etc/sysctl.conf
- action "Bringing up interface lo: " ./ifup ifcfg-lo
+ action "Bringing up interface %s: " lo ./ifup ifcfg-lo
case "$IPX" in
yes|true)
@@ -94,7 +94,7 @@ case "$1" in
for i in $interfaces ; do
if LC_ALL= LANG= ifconfig $i 2>/dev/null | grep -q " UP " >/dev/null 2>&1 ; then
- action "Shutting down interface $i: " ./ifdown $i boot
+ action "Shutting down interface %s: " $i ./ifdown $i boot
fi
done
case "$IPX" in
@@ -121,18 +121,18 @@ case "$1" in
rm -f /var/lock/subsys/network
;;
status)
- echo "Configured devices:"
+ gprintf "Configured devices:\n"
echo lo $interfaces
if [ -x /sbin/linuxconf ] ; then
eval `/sbin/linuxconf --hint netdev`
- echo "Devices that are down:"
+ gprintf "Devices that are down:\n"
echo $DEV_UP
- echo "Devices with modified configuration:"
+ gprintf "Devices with modified configuration:\n"
echo $DEV_RECONF
else
- echo "Currently active devices:"
- echo `/sbin/ifconfig | grep ^[a-z] | awk '{print $1}'`
+ gprintf "Currently active devices:\n"
+ echo `LC_ALL= LANG= /sbin/ifconfig | grep ^[a-z] | awk '{print $1}'`
fi
;;
restart)
@@ -144,26 +144,26 @@ case "$1" in
if [ -x /sbin/linuxconf ] ; then
eval `/sbin/linuxconf --hint netdev`
for device in $DEV_UP ; do
- action "Bringing up device $device: " ./ifup $device
+ action "Bringing up device %s: " $device ./ifup $device
done
for device in $DEV_DOWN ; do
- action "Shutting down device $device: " ./ifdown $device
+ action "Shutting down device %s: " $device ./ifdown $device
done
for device in $DEV_RECONF ; do
- action "Shutting down device $device: " ./ifdown $device
- action "Bringing up device $device: " ./ifup $device
+ action "Shutting down device %s: " $device ./ifdown $device
+ action "Bringing up device %s: " $device ./ifup $device
done
for device in $DEV_RECONF_ALIASES ; do
- action "Briging up alias $device: " /etc/sysconfig/network-scripts/ifup-aliases $device
+ action "Briging up alias %s: " $device /etc/sysconfig/network-scripts/ifup-aliases $device
done
for device in $DEV_RECONF_ROUTES ; do
- action "Bringing up route $device: " /etc/sysconfig/network-scripts/ifup-routes $device
+ action "Bringing up route %s: " $device /etc/sysconfig/network-scripts/ifup-routes $device
done
case $IPX in yes|true)
case $IPXINTERNALNET in
reconf)
action "Deleting internal IPX network: " /sbin/ipx_internal_net del
- action "Adding internal IPX network $IPXINTERNALNETNUM $IPXINTERNALNODENUM: " /sbin/ipx_internal_net add $IPXINTERNALNETNUM \
+ action "Adding internal IPX network %s %s: " $IPXINTERNALNETNUM $IPXINTERNALNODENUM /sbin/ipx_internal_net add $IPXINTERNALNETNUM \
$IPXINTERNALNODENUM
;;
add)
@@ -197,7 +197,7 @@ case "$1" in
fi
;;
*)
- echo "Usage: network {start|stop|restart|reload|status|probe}"
+ gprintf "Usage: %s {start|stop|restart|reload|status|probe}\n" "network"
exit 1
esac
diff --git a/rc.d/init.d/random b/rc.d/init.d/random
index 81c7a780..2eb95f66 100755
--- a/rc.d/init.d/random
+++ b/rc.d/init.d/random
@@ -41,9 +41,9 @@ case "$1" in
status)
# this is way overkill, but at least we have some status output...
if [ -c /dev/random ] ; then
- echo "The random data source exists"
+ gprintf "The random data source exists\n"
else
- echo "The random data source is missing"
+ gprintf "The random data source is missing\n"
fi
;;
restart|reload)
@@ -53,7 +53,7 @@ case "$1" in
*)
# do not advertise unreasonable commands that there is no reason
# to use with this device
- echo "Usage: random {start|stop|status|restart|reload}"
+ gprintf "Usage: %s {start|stop|status|restart|reload}\n" "random"
exit 1
esac
diff --git a/rc.d/init.d/rawdevices b/rc.d/init.d/rawdevices
index 2d883ef0..cb4152a2 100755
--- a/rc.d/init.d/rawdevices
+++ b/rc.d/init.d/rawdevices
@@ -13,6 +13,8 @@
# Source function library.
. /etc/init.d/functions
+TEXTDOMAIN=initscripts
+
[ -f /usr/bin/raw ] || exit 0
[ -f /etc/sysconfig/rawdevices ] || exit 0
@@ -26,17 +28,17 @@ function assign_raw()
cat /etc/sysconfig/rawdevices | egrep -v '^ *#' | while read RAW BLOCK; do
if [ -n "$RAW" -a -n "$BLOCK" ]; then
if [ "`dirname $RAW`" = "/dev" -a -d /dev/raw ]; then
- echo " Please correct your /etc/sysconfig/rawdevices:"
- echo " rawdevices are now located in the directory /dev/raw/ "
- echo " If the command 'raw' still refers to /dev/raw as a file."
- echo " you'll have to upgrade your util-linux package"
+ gprintf " Please correct your /etc/sysconfig/rawdevices:\n"
+ gprintf " rawdevices are now located in the directory /dev/raw/\n"
+ gprintf " If the command 'raw' still refers to /dev/raw as a file.\n"
+ gprintf " you'll have to upgrade your util-linux package\n"
exit 0
fi
if [ "`dirname $RAW`" = "/dev/raw" -a -f /dev/raw ]; then
- echo " Please correct your /etc/sysconfig/rawdevices:"
- echo " rawdevices are now located in the directory /dev/raw/ "
- echo " If the command 'raw' still refers to /dev/raw as a file."
- echo " you'll have to upgrade your util-linux package"
+ gprintf " Please correct your /etc/sysconfig/rawdevices:\n"
+ gprintf " rawdevices are now located in the directory /dev/raw/\n"
+ gprintf " If the command 'raw' still refers to /dev/raw as a file.\n"
+ gprintf " you'll have to upgrade your util-linux package\n"
exit 0
fi
@@ -50,7 +52,7 @@ function assign_raw()
case "$1" in
start)
# Assign devices
- echo "Assigning devices: "
+ gprintf "Assigning devices: "
assign_raw
echo "done"
;;
@@ -63,7 +65,7 @@ case "$1" in
if [ $ID -eq 0 ]; then
raw -qa
else
- echo "You need to be root to use this command ! "
+ gprintf "You need to be root to use this command!\n"
fi
;;
@@ -72,7 +74,7 @@ case "$1" in
;;
*)
- echo "Usage: rawdevice {start|stop|status|restart}"
+ gprintf "Usage: rawdevice {start|stop|status|restart}\n"
exit 1
esac
diff --git a/rc.d/init.d/single b/rc.d/init.d/single
index 6806d0c3..92de156e 100755
--- a/rc.d/init.d/single
+++ b/rc.d/init.d/single
@@ -10,10 +10,11 @@
# Modified for RHS Linux by Damien Neil
#
-. /etc/init.d/functions
-
# Set the path.
PATH=/sbin:/bin:/usr/sbin:/usr/bin
+TEXTDOMAIN=initscripts
+
+. /etc/rc.d/init.d/functions
if [ "$1" != "start" ] ; then
exit 0
@@ -22,10 +23,10 @@ fi
# Kill all processes.
[ "${BASH+bash}" = bash ] && enable kill
-echo "Sending all processes the TERM signal..."
+gprintf "Sending all processes the %s signal...\n" "TERM"
kill -15 -1
sleep 5
-echo "Sending all processes the KILL signal.."
+gprintf "Sending all processes the %s signal..\n" "KILL"
kill -9 -1
rm -f /var/lock/subsys/*
@@ -52,5 +53,5 @@ for i in /etc/rc1.d/S[0-9][0-9]*; do
done
# Now go to the single user level.
-echo "Telling INIT to go to single user mode."
+gprintf "Telling INIT to go to single user mode.\n"
exec init -t1 S
diff --git a/rc.d/rc b/rc.d/rc
index 5bf59c8a..2606f81d 100755
--- a/rc.d/rc
+++ b/rc.d/rc
@@ -9,9 +9,6 @@
# Miquel van Smoorenburg, <miquels@drinkel.nl.mugnet.org>
#
-# Source function library.
-. /etc/init.d/functions
-
# Now find out what the current and what the previous runlevel are.
argv1="$1"
set `/sbin/runlevel`
@@ -19,15 +16,18 @@ runlevel=$2
previous=$1
export runlevel previous
+# Source function library.
+. /etc/init.d/functions
+
# See if we want to be in user confirmation mode
if [ "$previous" = "N" ]; then
if grep -i confirm /proc/cmdline >/dev/null || [ -f /var/run/confirm ] ; then
rm -f /var/run/confirm
CONFIRM=yes
- echo "Entering interactive startup"
+ gprintf "Entering interactive startup\n"
else
CONFIRM=
- echo "Entering non-interactive startup"
+ gprintf "Entering non-interactive startup\n"
fi
fi
@@ -58,7 +58,7 @@ if [ -d /etc/rc$runlevel.d ]; then
if egrep -q "(killproc |action )" $i ; then
$i stop
else
- action "Stopping $subsys: " $i stop
+ action "Stopping %s: " $subsys $i stop
fi
done
@@ -101,7 +101,7 @@ if [ -d /etc/rc$runlevel.d ]; then
if [ "$subsys" = "halt" -o "$subsys" = "reboot" -o "$subsys" = "single" -o "$subsys" = "local" ]; then
$i start
else
- action "Starting $subsys: " $i start
+ action "Starting %s: " $subsys $i start
fi
fi
done
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index 30124250..f4fe64de 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -34,14 +34,13 @@ fi
. /etc/init.d/functions
# Print a banner. ;)
-echo -en "\t\t\tWelcome to "
+gprintf "\t\t\tWelcome to "
[ "$BOOTUP" != "serial" ] && echo -en "\\033[1;31m"
echo -en "Red Hat"
[ "$BOOTUP" != "serial" ] && echo -en "\\033[0;39m"
echo " Linux"
if [ "$PROMPT" != "no" ]; then
- echo -en "\t\tPress 'I' to enter interactive startup."
- echo
+ gprintf "\t\tPress 'I' to enter interactive startup.\n"
sleep 1
fi
@@ -101,7 +100,7 @@ esac
/sbin/hwclock $CLOCKFLAGS
-action "Setting clock $CLOCKDEF: `date`" date
+action "Setting clock %s: %s" "$CLOCKDEF" "`date`" date
if [ "`/sbin/consoletype`" == "vt" ]; then
# Load keymap
@@ -121,9 +120,9 @@ if [ "`/sbin/consoletype`" == "vt" ]; then
if [ -n "$KEYMAP" ]; then
# Since this takes in/output from stdin/out, we can't use initlog
if [ -n "$KEYTABLE" ]; then
- echo -n "Loading default keymap ($KEYTABLE): "
+ gprintf "Loading default keymap (%s): " "$KEYTABLE"
else
- echo -n "Loading default keymap: "
+ gprintf "Loading default keymap: "
fi
loadkeys $KEYMAP < /dev/tty0 > /dev/tty0 2>/dev/null && \
success "Loading default keymap" || failure "Loading default keymap"
@@ -138,7 +137,7 @@ if [ "`/sbin/consoletype`" == "vt" ]; then
-f /usr/lib/kbd/consolefonts/$SYSFONT.psf.gz -o \
-f /etc/sysconfig/console/$SYSFONT.gz -o \
-f /usr/lib/kbd/consolefonts/$SYSFONT.gz ]; then
- action "Setting default font ($SYSFONT): " /sbin/setsysfont
+ action "Setting default font (%s): " "$SYSFONT" /sbin/setsysfont
fi
fi
fi
@@ -147,7 +146,7 @@ fi
action "Activating swap partitions: " swapon -a
# Set the hostname.
-action "Setting hostname ${HOSTNAME}: " hostname ${HOSTNAME}
+action "Setting hostname %s: " "${HOSTNAME}" hostname ${HOSTNAME}
# Initialize USB controller and HID devices
usb=0
@@ -201,7 +200,7 @@ _RUN_QUOTACHECK=0
ROOTFSTYPE=`grep " / " /proc/mounts | awk '{ print $3 }'`
if [ -z "$fastboot" -a "$ROOTFSTYPE" != "nfs" ]; then
- STRING="Checking root filesystem"
+ STRING=`gprintf "Checking root filesystem"`
echo $STRING
initlog -c "fsck -T -a $fsckoptions /"
rc=$?
@@ -219,17 +218,17 @@ if [ -z "$fastboot" -a "$ROOTFSTYPE" != "nfs" ]; then
failure "$STRING"
echo
echo
- echo "*** An error occurred during the file system check."
- echo "*** Dropping you to a shell; the system will reboot"
- echo "*** when you leave the shell."
+ gprintf "*** An error occurred during the file system check.\n"
+ gprintf "*** Dropping you to a shell; the system will reboot\n"
+ gprintf "*** when you leave the shell.\n"
- PS1="(Repair filesystem) \# # "; export PS1
+ PS1=`gprintf "(Repair filesystem) # "`; export PS1
sulogin
- echo "Unmounting file systems"
+ gprintf "Unmounting file systems\n"
umount -a
mount -n -o remount,ro /
- echo "Automatic reboot in progress."
+ gprintf "Automatic reboot in progress.\n"
reboot -f
elif [ "$rc" = "1" ]; then
_RUN_QUOTACHECK=1
@@ -389,7 +388,7 @@ fi
# Add raid devices
if [ -f /proc/mdstat -a -f /etc/raidtab ]; then
- echo -n "Starting up RAID devices: "
+ gprintf "Starting up RAID devices: "
rc=0
@@ -429,17 +428,17 @@ if [ -f /proc/mdstat -a -f /etc/raidtab ]; then
if [ $rc -gt 0 ]; then
echo
echo
- echo "*** An error occurred during the RAID startup"
- echo "*** Dropping you to a shell; the system will reboot"
- echo "*** when you leave the shell."
+ gprintf "*** An error occurred during the RAID startup\n"
+ gprintf "*** Dropping you to a shell; the system will reboot\n"
+ gprintf "*** when you leave the shell.\n"
- PS1="(RAID Repair) \# # "; export PS1
+ PS1=`gprintf "(RAID Repair) # "`; export PS1
sulogin
- echo "Unmounting file systems"
+ gprintf "Unmounting file systems\n"
umount -a
mount -n -o remount,ro /
- echo "Automatic reboot in progress."
+ gprintf "Automatic reboot in progress.\n"
reboot -f
fi
fi
@@ -447,8 +446,8 @@ fi
_RUN_QUOTACHECK=0
# Check filesystems
if [ -z "$fastboot" ]; then
- STRING="Checking filesystems"
- echo $STRING
+ STRING=`gprintf "Checking filesystems"`
+ printf "$STRING\n"
initlog -c "fsck -T -R -A -a $fsckoptions"
rc=$?
if [ "$rc" = "0" ]; then
@@ -464,17 +463,17 @@ if [ -z "$fastboot" ]; then
failure "$STRING"
echo
echo
- echo "*** An error occurred during the file system check."
- echo "*** Dropping you to a shell; the system will reboot"
- echo "*** when you leave the shell."
+ gprintf "*** An error occurred during the file system check.\n"
+ gprintf "*** Dropping you to a shell; the system will reboot\n"
+ gprintf "*** when you leave the shell.\n"
- PS1="(Repair filesystem) \# # "; export PS1
+ PS1=`gprintf "(Repair filesystem) # "`; export PS1
sulogin
- echo "Unmounting file systems"
+ gprintf "Unmounting file systems"
umount -a
mount -n -o remount,ro /
- echo "Automatic reboot in progress."
+ gprintf "Automatic reboot in progress.\n"
reboot -f
elif [ "$rc" = "1" -a -x /sbin/quotacheck ]; then
_RUN_QUOTACHECK=1
diff --git a/sysconfig/network-scripts/ifdown b/sysconfig/network-scripts/ifdown
index fe1b3aba..53a28f8b 100755
--- a/sysconfig/network-scripts/ifdown
+++ b/sysconfig/network-scripts/ifdown
@@ -1,19 +1,21 @@
#!/bin/sh
PATH=/sbin:/usr/sbin:/bin:/usr/bin
+TEXTDOMAIN=initscripts
cd /etc/sysconfig/network-scripts
. network-functions
+. /etc/rc.d/init.d/functions
CONFIG=$1
[ -z "$CONFIG" ] && {
- echo "usage: ifdown <device name>" >&2
+ gprintf "usage: %s <device name>\n" ifdown >&2
exit 1
}
[ -f "$CONFIG" ] || CONFIG=ifcfg-$CONFIG
[ -f "$CONFIG" ] || {
- echo "usage: ifdown <device name>" >&2
+ gprintf "usage: %s <device name>\n" ifdown >&2
exit 1
}
@@ -23,7 +25,7 @@ if [ $UID != 0 ]; then
exec /usr/sbin/usernetctl $CONFIG down
fi
fi
- echo "Users cannot control this device." >&2
+ gprintf "Users cannot control this device.\n" >&2
exit 1
fi
diff --git a/sysconfig/network-scripts/ifup b/sysconfig/network-scripts/ifup
index aa061a87..df2ecef1 100755
--- a/sysconfig/network-scripts/ifup
+++ b/sysconfig/network-scripts/ifup
@@ -1,21 +1,23 @@
#!/bin/bash
PATH=/sbin:/usr/sbin:/bin:/usr/bin
+TEXTDOMAIN=initscripts
cd /etc/sysconfig/network-scripts
. network-functions
+. /etc/rc.d/init.d/functions
need_hostname
CONFIG=${1}
[ -z "${CONFIG}" ] && {
- echo "usage: ifup <device name>" >&2
+ gprintf "usage: ifup <device name>\n" >&2
exit 1
}
[ -f "${CONFIG}" ] || CONFIG=ifcfg-${CONFIG}
[ -f "${CONFIG}" ] || {
- echo "usage: ifup <device name>" >&2
+ gprintf "usage: ifup <device name>\n" >&2
exit 1
}
@@ -25,7 +27,7 @@ if [ ${UID} != 0 ]; then
exec /usr/sbin/usernetctl ${CONFIG} up
fi
fi
- echo "Users cannot control this device." >&2
+ gprintf "Users cannot control this device.\n" >&2
exit 1
fi
@@ -72,7 +74,7 @@ fi
# is this device available? (this catches PCMCIA devices for us)
LC_ALL= LANG= /sbin/ifconfig ${REALDEVICE} 2>&1 | grep -s "not found" > /dev/null
if [ "$?" = "0" ]; then
- echo "Delaying ${DEVICE} initialization."
+ gprintf "Delaying %s initialization.\n" "${DEVICE}"
exit 1
fi
@@ -81,7 +83,7 @@ if [ "${SLAVE}" = yes -a "${ISALIAS}" = no -a "${MASTER}" != "" -a \
RFLAG="" ; [ "${RECEIVEONLY}" = yes ] && RFLAG="-r"
ifconfig ${DEVICE} down
- echo "Enslaving ${DEVICE} to ${MASTER}"
+ gprintf "Enslaving %s to %s" "${DEVICE}" "${MASTER}"
ifenslave ${RFLAG} "${MASTER}" "${DEVICE}"
exit 0
@@ -106,14 +108,14 @@ if [ -n "${DYNCONFIG}" ]; then
PUMPARGS="${PUMPARGS} -d"
DHCPDARGS="${DHCPDARGS} -R"
fi
- echo -n "Determining IP information for ${DEVICE}..."
+ gprintf "Determining IP information for %s..." "${DEVICE}"
if [ -x /sbin/pump ] && /sbin/pump ${PUMPARGS} -i ${DEVICE} ; then
- echo " done."
+ gprintf " done.\n"
elif [ -x /sbin/dhcpcd ] && /sbin/dhcpcd ${DHCPCDARGS} ${DEVICE} ; then
- echo " done."
+ gprintf " done.\n"
else
- echo " failed."
+ gprintf " failed.\n"
exit 1
fi
else
diff --git a/sysconfig/network-scripts/ifup-aliases b/sysconfig/network-scripts/ifup-aliases
index 82f0b0d8..23a9af96 100755
--- a/sysconfig/network-scripts/ifup-aliases
+++ b/sysconfig/network-scripts/ifup-aliases
@@ -58,10 +58,11 @@
# June 30, 1999
#
# modified by: Bill Nottingham <notting@redhat.com>
+TEXTDOMAIN=initscripts
device=$1
if [ "$device" = "" ]; then
- echo "usage: $0 <net-device>"
+ gprintf "usage: %s <net-device>\n" "$0"
exit 1
fi
diff --git a/sysconfig/network-scripts/ifup-ppp b/sysconfig/network-scripts/ifup-ppp
index af44875d..0bdcc591 100755
--- a/sysconfig/network-scripts/ifup-ppp
+++ b/sysconfig/network-scripts/ifup-ppp
@@ -3,6 +3,8 @@ PATH=/sbin:/usr/sbin:/bin:/usr/bin
cd /etc/sysconfig/network-scripts
. network-functions
+. /etc/rc.d/init.d/functions
+
# ifup-post for PPP is handled through /etc/ppp/ip-up
@@ -42,10 +44,10 @@ if [ "${2}" = "boot" -a "${ONBOOT}" = "no" ]; then
fi
[ -x /usr/sbin/pppd ] || {
- echo "/usr/sbin/pppd does not exist or is not executable"
- echo "ifup-ppp for ${DEVICE} exiting"
+ gprintf "/usr/sbin/pppd does not exist or is not executable\n"
+ gprintf "ifup-ppp for %s exiting\n" "${DEVICE}"
logger -p daemon.info -t ifup-ppp \
- "/usr/sbin/pppd does not exist or is not executable for ${DEVICE}"
+ `gprintf "/usr/sbin/pppd does not exist or is not executable for %s\n" "${DEVICE}"`
exit 1
}
@@ -53,7 +55,7 @@ fi
echo "/etc/sysconfig/network-scripts/chat-${DEVICE} does not exist"
echo "ifup-ppp for ${DEVICE} exiting"
logger -p daemon.info -t ifup-ppp \
- "/etc/sysconfig/network-scripts/chat-${DEVICE} does not exist for ${DEVICE}"
+ `gprintf "/etc/sysconfig/network-scripts/chat-%s does not exist for %s" "${DEVICE}" "${DEVICE}"`
exit 1
}
diff --git a/sysconfig/network-scripts/ifup-routes b/sysconfig/network-scripts/ifup-routes
index 7562d242..b4e4a98a 100755
--- a/sysconfig/network-scripts/ifup-routes
+++ b/sysconfig/network-scripts/ifup-routes
@@ -1,9 +1,12 @@
#!/bin/sh
+TEXTDOMAIN=initscripts
# adds static routes which go through device $1
+. /etc/rc.d/init.d/functions
+
if [ "$1" = "" ]; then
- echo "usage: $0 <net-device>"
+ gprintf "usage: %s <net-device>\n" "$0"
exit 1
fi
diff --git a/sysconfig/network-scripts/ifup-sl b/sysconfig/network-scripts/ifup-sl
index 45432d52..2b53b93e 100755
--- a/sysconfig/network-scripts/ifup-sl
+++ b/sysconfig/network-scripts/ifup-sl
@@ -1,5 +1,7 @@
#!/bin/sh
+TEXTDOMAIN=initscripts
PATH=/sbin:/usr/sbin:/bin:/usr/bin
+. /etc/rc.d/init.d/functions
# ifup-post can't be done for slip :-( Solution: use PPP
@@ -28,8 +30,8 @@ if [ -z "$RETRYTIMEOUT" ]; then
fi
[ -x /usr/sbin/dip ] || {
- echo "/usr/sbin/dip does not exist or is not executable"
- echo "ifup-sl for $DEVICE exiting"
+ gprintf "%s does not exist or is not executable\n" "/usr/sbin/dip"
+ gprintf "%s for %s exiting\n" "ifup-sl" "$DEVICE"
logger -p daemon.info -t ifup-sl \
"/usr/sbin/dip does not exist or is not executable for $DEVICE"
exit 1
@@ -40,8 +42,8 @@ DIPSCRIPT=/etc/sysconfig/network-scripts/dip-$DEVNAME
DIPSCRIPT=/etc/sysconfig/network-scripts/dip-$PARENTDEVNAME
}
[ -f $DIPSCRIPT ] || {
- echo "/etc/sysconfig/network-scripts/dip-$DEVICE does not exist"
- echo "ifup-sl for $DEVICE exiting"
+ gprintf "%s does not exist\n" "/etc/sysconfig/network-scripts/dip-$DEVICE"
+ gprintf "%s for %s exiting\n" "ifup-sl" "$DEVICE"
logger -p daemon.info -t ifup-sl \
"/etc/sysconfig/network-scripts/dip-$DEVICE does not exist for $DEVICE"
exit 1