diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..cbb3a13
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+*.rpm
+*.log
+*spec-20*
+*.tar.gz
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..7ea4946
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,21 @@
+# Makefile for source rpm: smeserver-usbdisksmanager
+# $Id: Makefile,v 1.1 2020/10/29 19:29:59 brianr Exp $
+NAME := smeserver-usbdisksmanager
+SPECFILE = $(firstword $(wildcard *.spec))
+
+define find-makefile-common
+for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
+endef
+
+MAKEFILE_COMMON := $(shell $(find-makefile-common))
+
+ifeq ($(MAKEFILE_COMMON),)
+# attept a checkout
+define checkout-makefile-common
+test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
+endef
+
+MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
+endif
+
+include $(MAKEFILE_COMMON)
diff --git a/README.md b/README.md
index 8ad478b..c2a648a 100644
--- a/README.md
+++ b/README.md
@@ -1,3 +1,15 @@
-# smeserver-usbdisksmanager
+# smeserver-usbdisksmanager
-SMEServer Koozali developed git repo for smeserver-usbdisksmanager smecontribs
\ No newline at end of file
+SMEServer Koozali developed git repo for smeserver-usbdisksmanager smecontribs
+
+## Wiki
+
https://wiki.koozali.org/
+
+## Bugzilla
+Show list of outstanding bugs: [here](https://bugs.koozali.org/buglist.cgi?component=smeserver-usbdisksmanager&product=SME%20Contribs&query_format=advanced&limit=0&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&bug_status=CONFIRMED)
+
+## Description
+
+
*This description has been generated by an LLM AI system and cannot be relied on to be fully correct.*
+*Once it has been checked, then this comment will be deleted*
+
diff --git a/contriborbase b/contriborbase
new file mode 100644
index 0000000..9b7fd51
--- /dev/null
+++ b/contriborbase
@@ -0,0 +1 @@
+contribs10
diff --git a/createlinks b/createlinks
new file mode 100644
index 0000000..29b7efe
--- /dev/null
+++ b/createlinks
@@ -0,0 +1,23 @@
+#!/usr/bin/perl -w
+use esmith::Build::CreateLinks qw(:all);
+# our event specific for updating with yum without reboot
+$event = 'smeserver-usbdisksmanager-update';
+#add here the path to your templates needed to expand
+#see the /etc/systemd/system-preset/49-koozali.preset should be present for systemd integration on all you yum update event
+
+foreach my $file (qw(
+ /etc/systemd/system-preset/49-koozali.preset
+))
+{
+ templates2events( $file, $event );
+}
+#action needed in case we have a systemd unit
+event_link('systemd-default', $event, '10');
+event_link('systemd-reload', $event, '50');
+#action specific to this package
+#event_link('action', $event, '30');
+#services we need to restart
+#safe_symlink('restart',root/etc/e-smith/events/$event/services2adjust/service);
+#and Server Manager panel link
+panel_link('usbdisks', 'manager');
+
diff --git a/root/etc/e-smith/db/confusbdisks/migrate/00openRW b/root/etc/e-smith/db/confusbdisks/migrate/00openRW
new file mode 100644
index 0000000..c223b76
--- /dev/null
+++ b/root/etc/e-smith/db/confusbdisks/migrate/00openRW
@@ -0,0 +1,4 @@
+{
+ $DB = esmith::ConfigDB->open(${DB_FILENAME});
+}
+
diff --git a/root/etc/e-smith/db/confusbdisks/migrate/10options b/root/etc/e-smith/db/confusbdisks/migrate/10options
new file mode 100644
index 0000000..fed4ac6
--- /dev/null
+++ b/root/etc/e-smith/db/confusbdisks/migrate/10options
@@ -0,0 +1,27 @@
+{
+ my @add = split(/[,; ]+/, '');
+ my %remove = map { $_ => 1 } split(/[,; ]+/, 'managed,pamconsole');
+# options=pamconsole,exec,noauto,managed,gid=102,uid=101
+# options=pamconsole,exec,noauto,managed
+ for my $repo ( $DB->get_all )
+ {
+ #warn $repo->key;
+ my @options = split(/,/, $repo->prop('options') || '');
+ push @options, @add;
+ @options = grep(!defined $remove{$_} , @options);
+
+ # remove duplicates
+ undef %saw;
+ @options = grep(!$saw{$_}++, @options);
+
+ if ($#options >= 0)
+ {
+ $repo->set_prop('options', join(',', @options));
+ }
+ else
+ {
+ # $repo->delete('options');
+ }
+ }
+}
+
diff --git a/root/etc/e-smith/locale/bg/etc/e-smith/web/functions/usbdisks b/root/etc/e-smith/locale/bg/etc/e-smith/web/functions/usbdisks
new file mode 100644
index 0000000..d64169c
--- /dev/null
+++ b/root/etc/e-smith/locale/bg/etc/e-smith/web/functions/usbdisks
@@ -0,0 +1,263 @@
+
+
+tr_description
+Предназначението на Usbdisks е да помогне управлението твърди дискове по USB и FireWire
дискът/файловата му система трябва да поддържа UUID
]]>
+
+
+
+tr_aide
+Помощ
+
+
+
+tr_menu_config
+Конфигурация
+
+
+
+tr_menu_accueil
+Основен
+
+
+
+tr_disks_online
+Активен диск:
+
+
+
+tr_known_mounts
+Точки за монтиране известни:
+
+
+
+tr_no
+не
+
+
+
+tr_yes
+да
+
+
+
+tr_dev
+DEV
+
+
+
+tr_uuid
+UUID
+
+
+
+tr_mount
+Монтиране
+
+
+
+tr_fstab
+файл fstab
+
+
+
+tr_label
+Етикет
+
+
+
+tr_fs_type
+Файлова система
+
+
+
+tr_device_type
+Интерфейс
+
+
+
+tr_action
+Действие
+
+
+
+tr_mount_to
+MountTo
+
+
+
+tr_mounted_to
+Mounted_to
+
+
+
+tr_connected
+включен
+
+
+
+tr_status
+Състояние
+
+
+
+tr_success
+успешно
+
+
+
+tr_failure
+неуспешно
+
+
+
+tr_unknown
+непознато
+
+
+
+tr_add
+Добави
+
+
+
+tr_modify
+Промени
+
+
+
+
+tr_remove
+Премахване
+
+
+
+tr_refresh
+Опресни
+
+
+
+tr_removed
+Извадено
+
+
+
+tr_added
+Добавено
+
+
+
+tr_save_label
+Запис на данните
+
+
+
+tr_save_button
+Запис
+
+
+
+tr_rapport
+Отчет
+
+
+
+tr_with
+с
+
+
+
+tr_title_ajout
+Добави диска
+
+
+
+tr_titre_modifier
+Промени устройството
+
+
+
+tr_titre_accueil
+Основен
+
+
+
+tr_enabled
+включен
+
+
+
+tr_disabled
+изключено
+
+
+
+tr_removed
+извадено
+
+
+
+tr_titre_config
+Конфигурация
+
+
+
+tr_frequence
+Честота
+
+
+
+tr_incorect
+невярно
+
+
+
+tr_forbidden_directory
+неразрешена папка
+
+
+
+tr_directory_does_not_exist
+няма така папка
+
+
+
+tr_uuidgenerate
+генерирай UUID
+
+
+
+tr_status_mountto
+монтирай автоматично в
+
+
+
+tr_status_mountmedia
+автоматично в media
+
+
+
+tr_options_mount_to
+Опции на mount -o
+
+
+
+tr_status_media
+Състояние /media/
+
+
+
+tr_status_mediaG
+Състояние /media/ известно
+
+
+
+tr_status_mediaU
+Състояние /media/ неизвестно
+
+
+
+tr_pageaide
+http://wiki.contribs.org/Disk_Manager
+
+
+
diff --git a/root/etc/e-smith/locale/da/etc/e-smith/web/functions/usbdisks b/root/etc/e-smith/locale/da/etc/e-smith/web/functions/usbdisks
new file mode 100644
index 0000000..7dc3f4a
--- /dev/null
+++ b/root/etc/e-smith/locale/da/etc/e-smith/web/functions/usbdisks
@@ -0,0 +1,263 @@
+
+
+tr_description
+Usbdisks formål er at hjælpe håndteringen af USB og FireWire harddiske
UUID skal være understøttet af diskens / enhedens filesystem
]]>
+
+
+
+tr_aide
+Hjælp
+
+
+
+tr_menu_config
+Opsætning
+
+
+
+tr_menu_accueil
+Hoved
+
+
+
+tr_disks_online
+Online drev:
+
+
+
+tr_known_mounts
+Kendte monteringspunkter:
+
+
+
+tr_no
+nej
+
+
+
+tr_yes
+ja
+
+
+
+tr_dev
+DEV
+
+
+
+tr_uuid
+UUID
+
+
+
+tr_mount
+Montering
+
+
+
+tr_fstab
+fstab fil
+
+
+
+tr_label
+Betegnelse
+
+
+
+tr_fs_type
+Filsystem
+
+
+
+tr_device_type
+Interface
+
+
+
+tr_action
+Aktivitet
+
+
+
+tr_mount_to
+Monter til
+
+
+
+tr_mounted_to
+Monteret til
+
+
+
+tr_connected
+tilsluttet
+
+
+
+tr_status
+Status
+
+
+
+tr_success
+succes
+
+
+
+tr_failure
+fejl
+
+
+
+tr_unknown
+ukendt
+
+
+
+tr_add
+Tilføj
+
+
+
+tr_modify
+Ændre
+
+
+
+
+tr_remove
+Fjern
+
+
+
+tr_refresh
+Genopfrisk
+
+
+
+tr_removed
+Fjernet
+
+
+
+tr_added
+Tilføjet
+
+
+
+tr_save_label
+Gem data
+
+
+
+tr_save_button
+Gem
+
+
+
+tr_rapport
+Rapport
+
+
+
+tr_with
+med
+
+
+
+tr_title_ajout
+Tilføj dette drev
+
+
+
+tr_titre_modifier
+Ændre dette drev
+
+
+
+tr_titre_accueil
+Hoved
+
+
+
+tr_enabled
+aktiveret
+
+
+
+tr_disabled
+deaktiveret
+
+
+
+tr_removed
+fjernet
+
+
+
+tr_titre_config
+Opsætning
+
+
+
+tr_frequence
+Frekvens
+
+
+
+tr_incorect
+forkert
+
+
+
+tr_forbidden_directory
+uautoriseret mappe
+
+
+
+tr_directory_does_not_exist
+mappen findes ikke
+
+
+
+tr_uuidgenerate
+opretter UUID
+
+
+
+tr_status_mountto
+automontering til
+
+
+
+tr_status_mountmedia
+automedia
+
+
+
+tr_options_mount_to
+Options mount -o
+
+
+
+tr_status_media
+Status /media/
+
+
+
+tr_status_mediaG
+Status /media/ kendt
+
+
+
+tr_status_mediaU
+Status /media/ ukendt
+
+
+
+tr_pageaide
+http://wiki.contribs.org/Disk_Manager
+
+
+
diff --git a/root/etc/e-smith/locale/de/etc/e-smith/web/functions/usbdisks b/root/etc/e-smith/locale/de/etc/e-smith/web/functions/usbdisks
new file mode 100644
index 0000000..1a1b7fe
--- /dev/null
+++ b/root/etc/e-smith/locale/de/etc/e-smith/web/functions/usbdisks
@@ -0,0 +1,263 @@
+
+
+tr_description
+Usbdisks purpose is to help managing USB, and also FireWire, hard drives
UUID must be supported by the disk / device filesystem
]]>
+
+
+
+tr_aide
+Hilfe
+
+
+
+tr_menu_config
+Konfiguration
+
+
+
+tr_menu_accueil
+Haupt
+
+
+
+tr_disks_online
+Online Laufwerk:
+
+
+
+tr_known_mounts
+Bekannte 'Mount'-punkte:
+
+
+
+tr_no
+nein
+
+
+
+tr_yes
+ja
+
+
+
+tr_dev
+DEV
+
+
+
+tr_uuid
+UUID
+
+
+
+tr_mount
+Mount
+
+
+
+tr_fstab
+fstab Datei
+
+
+
+tr_label
+Label
+
+
+
+tr_fs_type
+Dateisystem
+
+
+
+tr_device_type
+Interface
+
+
+
+tr_action
+Aktion
+
+
+
+tr_mount_to
+Mounten nach
+
+
+
+tr_mounted_to
+Ge-mounted_an
+
+
+
+tr_connected
+eingesteckt
+
+
+
+tr_status
+Status
+
+
+
+tr_success
+gelungen
+
+
+
+tr_failure
+fehlgeschlagen
+
+
+
+tr_unknown
+unbekannt
+
+
+
+tr_add
+Hinzufügen
+
+
+
+tr_modify
+Ändern
+
+
+
+
+tr_remove
+Entfernen
+
+
+
+tr_refresh
+Aktualisieren
+
+
+
+tr_removed
+Entfernt
+
+
+
+tr_added
+Hinzugefügt
+
+
+
+tr_save_label
+Speichern
+
+
+
+tr_save_button
+Speichern
+
+
+
+tr_rapport
+Bericht
+
+
+
+tr_with
+mit
+
+
+
+tr_title_ajout
+Dieses Laufwerk hinzufügen
+
+
+
+tr_titre_modifier
+Dieses Laufwerk ändern
+
+
+
+tr_titre_accueil
+Haupt
+
+
+
+tr_enabled
+aktiviert
+
+
+
+tr_disabled
+deaktivieren
+
+
+
+tr_removed
+entfernt
+
+
+
+tr_titre_config
+Konfiguration
+
+
+
+tr_frequence
+Häufigkeit
+
+
+
+tr_incorect
+fehlerhaft
+
+
+
+tr_forbidden_directory
+Verzeichniszugriff nicht erlaubt
+
+
+
+tr_directory_does_not_exist
+kein solches Verzeichnis
+
+
+
+tr_uuidgenerate
+UUID generieren
+
+
+
+tr_status_mountto
+automatisch mounten nach
+
+
+
+tr_status_mountmedia
+auto media
+
+
+
+tr_options_mount_to
+Optionen mount -o
+
+
+
+tr_status_media
+Status /media/
+
+
+
+tr_status_mediaG
+Status /media/ bekannt
+
+
+
+tr_status_mediaU
+Status /media/ unbekannt
+
+
+
+tr_pageaide
+http://wiki.contribs.org/Disk_Manager
+
+
+
diff --git a/root/etc/e-smith/locale/el/etc/e-smith/web/functions/usbdisks b/root/etc/e-smith/locale/el/etc/e-smith/web/functions/usbdisks
new file mode 100644
index 0000000..8fa3e85
--- /dev/null
+++ b/root/etc/e-smith/locale/el/etc/e-smith/web/functions/usbdisks
@@ -0,0 +1,263 @@
+
+
+tr_description
+Usbdisks purpose is to help managing USB, and also FireWire, hard drives
UUID must be supported by the disk / device filesystem
]]>
+
+
+
+tr_aide
+Βοήθεια
+
+
+
+tr_menu_config
+Ρύθμιση παραμέτρων συστήματος
+
+
+
+tr_menu_accueil
+Main
+
+
+
+tr_disks_online
+Online drive:
+
+
+
+tr_known_mounts
+Mount points known:
+
+
+
+tr_no
+no
+
+
+
+tr_yes
+yes
+
+
+
+tr_dev
+DEV
+
+
+
+tr_uuid
+UUID
+
+
+
+tr_mount
+Mount
+
+
+
+tr_fstab
+fstab file
+
+
+
+tr_label
+Label
+
+
+
+tr_fs_type
+Filesystem
+
+
+
+tr_device_type
+Interface
+
+
+
+tr_action
+Ενέργεια
+
+
+
+tr_mount_to
+MountTo
+
+
+
+tr_mounted_to
+Mounted_to
+
+
+
+tr_connected
+plugged
+
+
+
+tr_status
+Status
+
+
+
+tr_success
+succeded
+
+
+
+tr_failure
+failure
+
+
+
+tr_unknown
+unknown
+
+
+
+tr_add
+Προσθήκη
+
+
+
+tr_modify
+Τροποποίηση
+
+
+
+
+tr_remove
+Διαγραφή
+
+
+
+tr_refresh
+Refresh
+
+
+
+tr_removed
+Removed
+
+
+
+tr_added
+Προστέθηκε
+
+
+
+tr_save_label
+Save data
+
+
+
+tr_save_button
+Αποθήκευση
+
+
+
+tr_rapport
+Report
+
+
+
+tr_with
+with
+
+
+
+tr_title_ajout
+Add this drive
+
+
+
+tr_titre_modifier
+Modify this drive
+
+
+
+tr_titre_accueil
+Main
+
+
+
+tr_enabled
+enabled
+
+
+
+tr_disabled
+disabled
+
+
+
+tr_removed
+removed
+
+
+
+tr_titre_config
+Ρύθμιση παραμέτρων συστήματος
+
+
+
+tr_frequence
+Frequency
+
+
+
+tr_incorect
+incorrect
+
+
+
+tr_forbidden_directory
+unauthorised directory
+
+
+
+tr_directory_does_not_exist
+no such directory
+
+
+
+tr_uuidgenerate
+generate UUID
+
+
+
+tr_status_mountto
+auto mount to
+
+
+
+tr_status_mountmedia
+auto media
+
+
+
+tr_options_mount_to
+Options mount -o
+
+
+
+tr_status_media
+Status /media/
+
+
+
+tr_status_mediaG
+Status /media/ known
+
+
+
+tr_status_mediaU
+Status /media/ unknown
+
+
+
+tr_pageaide
+http://wiki.contribs.org/Disk_Manager
+
+
+
diff --git a/root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/usbdisks b/root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/usbdisks
new file mode 100755
index 0000000..c2b4992
--- /dev/null
+++ b/root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/usbdisks
@@ -0,0 +1,268 @@
+
+
+tr_description
+
+ Usbdisks purpose is to help managing USB, and also FireWire, hard drives
+
UUID must be supported by the disk / device filesystem
+ ]]>
+
+
+
+
+tr_aide
+Help
+
+
+
+tr_menu_config
+Configuration
+
+
+
+tr_menu_accueil
+Main
+
+
+
+tr_disks_online
+Online drive:
+
+
+
+tr_known_mounts
+Mount points known:
+
+
+
+tr_no
+no
+
+
+
+tr_yes
+yes
+
+
+
+tr_dev
+DEV
+
+
+
+tr_uuid
+UUID
+
+
+
+tr_mount
+Mount
+
+
+
+tr_fstab
+fstab file
+
+
+
+tr_label
+Label
+
+
+
+tr_fs_type
+Filesystem
+
+
+
+tr_device_type
+Interface
+
+
+
+tr_action
+Action
+
+
+
+tr_mount_to
+MountTo
+
+
+
+tr_mounted_to
+Mounted_to
+
+
+
+tr_connected
+plugged
+
+
+
+tr_status
+Status
+
+
+
+tr_success
+succeded
+
+
+
+tr_failure
+failure
+
+
+
+tr_unknown
+unknown
+
+
+
+tr_add
+Add
+
+
+
+tr_modify
+Modify
+
+
+
+
+tr_remove
+Remove
+
+
+
+tr_refresh
+Refresh
+
+
+
+tr_removed
+Removed
+
+
+
+tr_added
+Added
+
+
+
+tr_save_label
+Save data
+
+
+
+tr_save_button
+Save
+
+
+
+tr_rapport
+Report
+
+
+
+tr_with
+with
+
+
+
+tr_title_ajout
+Add this drive
+
+
+
+tr_titre_modifier
+Modify this drive
+
+
+
+tr_titre_accueil
+Main
+
+
+
+tr_enabled
+enabled
+
+
+
+tr_disabled
+disabled
+
+
+
+tr_removed
+removed
+
+
+
+tr_titre_config
+Configuration
+
+
+
+tr_frequence
+Frequency
+
+
+
+tr_incorect
+incorrect
+
+
+
+tr_forbidden_directory
+unauthorised directory
+
+
+
+tr_directory_does_not_exist
+no such directory
+
+
+
+tr_uuidgenerate
+generate UUID
+
+
+
+tr_status_mountto
+auto mount to
+
+
+
+tr_status_mountmedia
+auto media
+
+
+
+tr_options_mount_to
+Options mount -o
+
+
+
+tr_status_media
+Status /media/
+
+
+
+tr_status_mediaG
+Status /media/ known
+
+
+
+tr_status_mediaU
+Status /media/ unknown
+
+
+
+tr_pageaide
+http://wiki.contribs.org/Disk_Manager
+
+
+
diff --git a/root/etc/e-smith/locale/es/etc/e-smith/web/functions/usbdisks b/root/etc/e-smith/locale/es/etc/e-smith/web/functions/usbdisks
new file mode 100644
index 0000000..91b166c
--- /dev/null
+++ b/root/etc/e-smith/locale/es/etc/e-smith/web/functions/usbdisks
@@ -0,0 +1,263 @@
+
+
+tr_description
+Usbdisks purpose is to help managing USB, and also FireWire, hard drives
UUID must be supported by the disk / device filesystem
]]>
+
+
+
+tr_aide
+Ayuda
+
+
+
+tr_menu_config
+Configuración
+
+
+
+tr_menu_accueil
+Principal
+
+
+
+tr_disks_online
+Unidad online:
+
+
+
+tr_known_mounts
+Puntos de montaje conocidos:
+
+
+
+tr_no
+no
+
+
+
+tr_yes
+sí
+
+
+
+tr_dev
+DEV
+
+
+
+tr_uuid
+UUID
+
+
+
+tr_mount
+Montar
+
+
+
+tr_fstab
+archivo fstab
+
+
+
+tr_label
+Etiqueta
+
+
+
+tr_fs_type
+Sistema de archivos
+
+
+
+tr_device_type
+Interfaz
+
+
+
+tr_action
+Acción
+
+
+
+tr_mount_to
+Montar En
+
+
+
+tr_mounted_to
+Montado_en
+
+
+
+tr_connected
+enchufado
+
+
+
+tr_status
+Estado
+
+
+
+tr_success
+correcto
+
+
+
+tr_failure
+falló
+
+
+
+tr_unknown
+desconocido
+
+
+
+tr_add
+Agregar
+
+
+
+tr_modify
+Modificar
+
+
+
+
+tr_remove
+Eliminar
+
+
+
+tr_refresh
+Recargar
+
+
+
+tr_removed
+Eliminado
+
+
+
+tr_added
+Agregado
+
+
+
+tr_save_label
+Guardar datos
+
+
+
+tr_save_button
+Guardar
+
+
+
+tr_rapport
+Informe
+
+
+
+tr_with
+con
+
+
+
+tr_title_ajout
+Agregar esta unidad
+
+
+
+tr_titre_modifier
+Modificar esta unidad
+
+
+
+tr_titre_accueil
+Principal
+
+
+
+tr_enabled
+habilitado
+
+
+
+tr_disabled
+deshabilitado
+
+
+
+tr_removed
+eliminado
+
+
+
+tr_titre_config
+Configuración
+
+
+
+tr_frequence
+Frecuencia
+
+
+
+tr_incorect
+incorrecto
+
+
+
+tr_forbidden_directory
+Directorio no autorizado
+
+
+
+tr_directory_does_not_exist
+no existe el directorio
+
+
+
+tr_uuidgenerate
+generar UUID
+
+
+
+tr_status_mountto
+auto montar en
+
+
+
+tr_status_mountmedia
+auto media
+
+
+
+tr_options_mount_to
+Opciones mount -o
+
+
+
+tr_status_media
+Estado /media/
+
+
+
+tr_status_mediaG
+Estado /media/ conocido
+
+
+
+tr_status_mediaU
+Estado /media/ desconocido
+
+
+
+tr_pageaide
+http://wiki.contribs.org/Disk_Manager
+
+
+
diff --git a/root/etc/e-smith/locale/et/etc/e-smith/web/functions/usbdisks b/root/etc/e-smith/locale/et/etc/e-smith/web/functions/usbdisks
new file mode 100644
index 0000000..11c703c
--- /dev/null
+++ b/root/etc/e-smith/locale/et/etc/e-smith/web/functions/usbdisks
@@ -0,0 +1,263 @@
+
+
+tr_description
+Usbdisks purpose is to help managing USB, and also FireWire, hard drives
UUID must be supported by the disk / device filesystem
]]>
+
+
+
+tr_aide
+Abi
+
+
+
+tr_menu_config
+Seadistused
+
+
+
+tr_menu_accueil
+Peamine
+
+
+
+tr_disks_online
+Võrguketas:
+
+
+
+tr_known_mounts
+Teadaolevad ühendamise kohad
+
+
+
+tr_no
+ei
+
+
+
+tr_yes
+jah
+
+
+
+tr_dev
+DEV
+
+
+
+tr_uuid
+UUID
+
+
+
+tr_mount
+Ühenda
+
+
+
+tr_fstab
+fstab fail
+
+
+
+tr_label
+Silt
+
+
+
+tr_fs_type
+Failisüsteem
+
+
+
+tr_device_type
+Liides
+
+
+
+tr_action
+Tegevus
+
+
+
+tr_mount_to
+Ühenda
+
+
+
+tr_mounted_to
+Ühendatud
+
+
+
+tr_connected
+plugged
+
+
+
+tr_status
+Olek
+
+
+
+tr_success
+edukus
+
+
+
+tr_failure
+nurjunud
+
+
+
+tr_unknown
+tundmatu
+
+
+
+tr_add
+Lisa
+
+
+
+tr_modify
+Muuda
+
+
+
+
+tr_remove
+Eemalda
+
+
+
+tr_refresh
+Värskenda
+
+
+
+tr_removed
+Eemaldatud
+
+
+
+tr_added
+Lisatud
+
+
+
+tr_save_label
+Salvesta andmed
+
+
+
+tr_save_button
+Salvesta
+
+
+
+tr_rapport
+Raport
+
+
+
+tr_with
+with
+
+
+
+tr_title_ajout
+Lisa see ketas
+
+
+
+tr_titre_modifier
+Muuda seda ketast
+
+
+
+tr_titre_accueil
+Peamine
+
+
+
+tr_enabled
+Lubatud
+
+
+
+tr_disabled
+Keelatud
+
+
+
+tr_removed
+eemaldatud
+
+
+
+tr_titre_config
+Seadistused
+
+
+
+tr_frequence
+Sagedus
+
+
+
+tr_incorect
+vale
+
+
+
+tr_forbidden_directory
+unauthorised directory
+
+
+
+tr_directory_does_not_exist
+pole sellist kataloogi
+
+
+
+tr_uuidgenerate
+genereeri UUID
+
+
+
+tr_status_mountto
+Automaatne ühendamine
+
+
+
+tr_status_mountmedia
+automaatne meedia
+
+
+
+tr_options_mount_to
+Ühendamise seaded -o
+
+
+
+tr_status_media
+Olek /meedia/
+
+
+
+tr_status_mediaG
+Olek /meedia/ tuvastatud
+
+
+
+tr_status_mediaU
+Olek /meedia/ tundmatu
+
+
+
+tr_pageaide
+http://wiki.contribs.org/Disk_Manager
+
+
+
diff --git a/root/etc/e-smith/locale/fr/etc/e-smith/web/functions/usbdisks b/root/etc/e-smith/locale/fr/etc/e-smith/web/functions/usbdisks
new file mode 100755
index 0000000..677d2f7
--- /dev/null
+++ b/root/etc/e-smith/locale/fr/etc/e-smith/web/functions/usbdisks
@@ -0,0 +1,263 @@
+
+
+tr_description
+Usbdisks est destiné à vous assister dans les opérations de gestion et de montage des disques durs USB, mais aussi FireWire,
Attention les systèmes de fichier du disque doivent supporter les UUID
]]>
+
+
+
+tr_aide
+Aide
+
+
+
+tr_menu_config
+Configuration
+
+
+
+tr_menu_accueil
+Accueil
+
+
+
+tr_disks_online
+Disques connectés :
+
+
+
+tr_known_mounts
+Points de montage connus :
+
+
+
+tr_no
+non
+
+
+
+tr_yes
+oui
+
+
+
+tr_dev
+Dispositif
+
+
+
+tr_uuid
+UUID
+
+
+
+tr_mount
+Monter
+
+
+
+tr_fstab
+dans fichier fstab
+
+
+
+tr_label
+Étiquette
+
+
+
+tr_fs_type
+Système de fichier
+
+
+
+tr_device_type
+Interface
+
+
+
+tr_action
+Action
+
+
+
+tr_mount_to
+Monter Dans
+
+
+
+tr_mounted_to
+Monté Dans
+
+
+
+tr_connected
+Connecté
+
+
+
+tr_status
+État
+
+
+
+tr_success
+avec succès
+
+
+
+tr_failure
+erreur
+
+
+
+tr_unknown
+inconnu
+
+
+
+tr_add
+Ajouter
+
+
+
+tr_modify
+Modifier
+
+
+
+
+tr_remove
+Supprimer
+
+
+
+tr_refresh
+Rafraîchir
+
+
+
+tr_removed
+Supprimé
+
+
+
+tr_added
+Ajouté
+
+
+
+tr_save_label
+Enregistrer les données
+
+
+
+tr_save_button
+Enregistrer
+
+
+
+tr_rapport
+Rapport
+
+
+
+tr_with
+Avec
+
+
+
+tr_title_ajout
+Ajouter ce lecteur
+
+
+
+tr_titre_modifier
+Modifier ce lecteur
+
+
+
+tr_titre_accueil
+Accueil
+
+
+
+tr_enabled
+activé
+
+
+
+tr_disabled
+désactivé
+
+
+
+tr_removed
+supprimé
+
+
+
+tr_titre_config
+Configuration
+
+
+
+tr_frequence
+Fréquence
+
+
+
+tr_incorect
+incorrecte
+
+
+
+tr_forbidden_directory
+répertoire non autorisé
+
+
+
+tr_directory_does_not_exist
+répertoire inexistant
+
+
+
+tr_uuidgenerate
+générer UUID
+
+
+
+tr_status_mountto
+auto-montage sur
+
+
+
+tr_status_mountmedia
+auto media
+
+
+
+tr_options_mount_to
+Options mount -o
+
+
+
+tr_status_media
+État /media/
+
+
+
+tr_status_mediaG
+État /media/ disques connus
+
+
+
+tr_status_mediaU
+État /media/ disques inconnus
+
+
+
+tr_pageaide
+http://wiki.contribs.org/Disk_Manager/fr
+
+
+
diff --git a/root/etc/e-smith/locale/he/etc/e-smith/web/functions/usbdisks b/root/etc/e-smith/locale/he/etc/e-smith/web/functions/usbdisks
new file mode 100644
index 0000000..9efec2f
--- /dev/null
+++ b/root/etc/e-smith/locale/he/etc/e-smith/web/functions/usbdisks
@@ -0,0 +1,263 @@
+
+
+tr_description
+Usbdisks purpose is to help managing USB, and also FireWire, hard drives
UUID must be supported by the disk / device filesystem
]]>
+
+
+
+tr_aide
+עזרה
+
+
+
+tr_menu_config
+קונפיגורציה
+
+
+
+tr_menu_accueil
+ראשי
+
+
+
+tr_disks_online
+כונן מקוון:
+
+
+
+tr_known_mounts
+נקודות עגינה ידועות:
+
+
+
+tr_no
+לא
+
+
+
+tr_yes
+כן
+
+
+
+tr_dev
+DEV
+
+
+
+tr_uuid
+UUID
+
+
+
+tr_mount
+עגון
+
+
+
+tr_fstab
+קובץ fstab
+
+
+
+tr_label
+תווית
+
+
+
+tr_fs_type
+מערכת קבצים
+
+
+
+tr_device_type
+ממשק
+
+
+
+tr_action
+פעולה
+
+
+
+tr_mount_to
+עגון אל
+
+
+
+tr_mounted_to
+מעוגן אל
+
+
+
+tr_connected
+מחובר
+
+
+
+tr_status
+מצב
+
+
+
+tr_success
+הצליח
+
+
+
+tr_failure
+כשלון
+
+
+
+tr_unknown
+לא ידוע
+
+
+
+tr_add
+הוסף
+
+
+
+tr_modify
+שנה
+
+
+
+
+tr_remove
+הסרה
+
+
+
+tr_refresh
+רענון
+
+
+
+tr_removed
+הוסר
+
+
+
+tr_added
+התווסף
+
+
+
+tr_save_label
+שמור נתונים
+
+
+
+tr_save_button
+שמור
+
+
+
+tr_rapport
+דווח
+
+
+
+tr_with
+עם
+
+
+
+tr_title_ajout
+הוסף כונן זה
+
+
+
+tr_titre_modifier
+שנה כונן זה
+
+
+
+tr_titre_accueil
+ראשי
+
+
+
+tr_enabled
+מאופשר
+
+
+
+tr_disabled
+מבוטל
+
+
+
+tr_removed
+הוסר
+
+
+
+tr_titre_config
+קונפיגורציה
+
+
+
+tr_frequence
+תדירות
+
+
+
+tr_incorect
+לא נכון
+
+
+
+tr_forbidden_directory
+תיקיה לא מאושרת
+
+
+
+tr_directory_does_not_exist
+אין תיקיה כזו
+
+
+
+tr_uuidgenerate
+יצר UUID
+
+
+
+tr_status_mountto
+עגון אל אוטומטית
+
+
+
+tr_status_mountmedia
+מדיה אוטומטית
+
+
+
+tr_options_mount_to
+אפשרות mount -o
+
+
+
+tr_status_media
+מצב /media/
+
+
+
+tr_status_mediaG
+מצב /media/ ידועה
+
+
+
+tr_status_mediaU
+מצב /media/ לא ידועה
+
+
+
+tr_pageaide
+http://wiki.contribs.org/Disk_Manager
+
+
+
diff --git a/root/etc/e-smith/locale/hu/etc/e-smith/web/functions/usbdisks b/root/etc/e-smith/locale/hu/etc/e-smith/web/functions/usbdisks
new file mode 100644
index 0000000..c1f0437
--- /dev/null
+++ b/root/etc/e-smith/locale/hu/etc/e-smith/web/functions/usbdisks
@@ -0,0 +1,263 @@
+
+
+tr_description
+Usbdisks purpose is to help managing USB, and also FireWire, hard drives
UUID must be supported by the disk / device filesystem
]]>
+
+
+
+tr_aide
+Súgó
+
+
+
+tr_menu_config
+Konfiguráció
+
+
+
+tr_menu_accueil
+Main
+
+
+
+tr_disks_online
+Online drive:
+
+
+
+tr_known_mounts
+Mount points known:
+
+
+
+tr_no
+no
+
+
+
+tr_yes
+yes
+
+
+
+tr_dev
+DEV
+
+
+
+tr_uuid
+UUID
+
+
+
+tr_mount
+Csatlakoztatás
+
+
+
+tr_fstab
+fstab file
+
+
+
+tr_label
+Címke
+
+
+
+tr_fs_type
+Fájlrendszer
+
+
+
+tr_device_type
+Felület
+
+
+
+tr_action
+Művelet
+
+
+
+tr_mount_to
+MountTo
+
+
+
+tr_mounted_to
+Mounted_to
+
+
+
+tr_connected
+plugged
+
+
+
+tr_status
+Állapot
+
+
+
+tr_success
+succeded
+
+
+
+tr_failure
+failure
+
+
+
+tr_unknown
+ismeretlen
+
+
+
+tr_add
+Hozzáad
+
+
+
+tr_modify
+Módosítás
+
+
+
+
+tr_remove
+Eltávolít
+
+
+
+tr_refresh
+Frissítés
+
+
+
+tr_removed
+Removed
+
+
+
+tr_added
+Hozzáadva:
+
+
+
+tr_save_label
+Save data
+
+
+
+tr_save_button
+Mentés
+
+
+
+tr_rapport
+Report
+
+
+
+tr_with
+with
+
+
+
+tr_title_ajout
+Add this drive
+
+
+
+tr_titre_modifier
+Modify this drive
+
+
+
+tr_titre_accueil
+Main
+
+
+
+tr_enabled
+engedélyezve
+
+
+
+tr_disabled
+letiltva
+
+
+
+tr_removed
+removed
+
+
+
+tr_titre_config
+Konfiguráció
+
+
+
+tr_frequence
+Frekvencia
+
+
+
+tr_incorect
+incorrect
+
+
+
+tr_forbidden_directory
+unauthorised directory
+
+
+
+tr_directory_does_not_exist
+no such directory
+
+
+
+tr_uuidgenerate
+generate UUID
+
+
+
+tr_status_mountto
+auto mount to
+
+
+
+tr_status_mountmedia
+auto media
+
+
+
+tr_options_mount_to
+Options mount -o
+
+
+
+tr_status_media
+Status /media/
+
+
+
+tr_status_mediaG
+Status /media/ known
+
+
+
+tr_status_mediaU
+Status /media/ unknown
+
+
+
+tr_pageaide
+http://wiki.contribs.org/Disk_Manager
+
+
+
diff --git a/root/etc/e-smith/locale/id/etc/e-smith/web/functions/usbdisks b/root/etc/e-smith/locale/id/etc/e-smith/web/functions/usbdisks
new file mode 100644
index 0000000..26a3b7b
--- /dev/null
+++ b/root/etc/e-smith/locale/id/etc/e-smith/web/functions/usbdisks
@@ -0,0 +1,263 @@
+
+
+tr_description
+Usbdisks purpose is to help managing USB, and also FireWire, hard drives
UUID must be supported by the disk / device filesystem
]]>
+
+
+
+tr_aide
+Panduan
+
+
+
+tr_menu_config
+Konfigurasi
+
+
+
+tr_menu_accueil
+Main
+
+
+
+tr_disks_online
+Online drive:
+
+
+
+tr_known_mounts
+Mount points known:
+
+
+
+tr_no
+no
+
+
+
+tr_yes
+yes
+
+
+
+tr_dev
+DEV
+
+
+
+tr_uuid
+UUID
+
+
+
+tr_mount
+Mount
+
+
+
+tr_fstab
+fstab file
+
+
+
+tr_label
+Label
+
+
+
+tr_fs_type
+Filesystem
+
+
+
+tr_device_type
+Interface
+
+
+
+tr_action
+Aksi
+
+
+
+tr_mount_to
+MountTo
+
+
+
+tr_mounted_to
+Mounted_to
+
+
+
+tr_connected
+plugged
+
+
+
+tr_status
+Status
+
+
+
+tr_success
+succeded
+
+
+
+tr_failure
+failure
+
+
+
+tr_unknown
+tak dikenal
+
+
+
+tr_add
+Tambah
+
+
+
+tr_modify
+Ubah
+
+
+
+
+tr_remove
+Hapus
+
+
+
+tr_refresh
+Refresh
+
+
+
+tr_removed
+Removed
+
+
+
+tr_added
+Added
+
+
+
+tr_save_label
+Save data
+
+
+
+tr_save_button
+Simpan
+
+
+
+tr_rapport
+Report
+
+
+
+tr_with
+with
+
+
+
+tr_title_ajout
+Add this drive
+
+
+
+tr_titre_modifier
+Modify this drive
+
+
+
+tr_titre_accueil
+Main
+
+
+
+tr_enabled
+dihidupkan
+
+
+
+tr_disabled
+dimatikan
+
+
+
+tr_removed
+removed
+
+
+
+tr_titre_config
+Konfigurasi
+
+
+
+tr_frequence
+Frequency
+
+
+
+tr_incorect
+incorrect
+
+
+
+tr_forbidden_directory
+unauthorised directory
+
+
+
+tr_directory_does_not_exist
+no such directory
+
+
+
+tr_uuidgenerate
+generate UUID
+
+
+
+tr_status_mountto
+auto mount to
+
+
+
+tr_status_mountmedia
+auto media
+
+
+
+tr_options_mount_to
+Options mount -o
+
+
+
+tr_status_media
+Status /media/
+
+
+
+tr_status_mediaG
+Status /media/ known
+
+
+
+tr_status_mediaU
+Status /media/ unknown
+
+
+
+tr_pageaide
+http://wiki.contribs.org/Disk_Manager
+
+
+
diff --git a/root/etc/e-smith/locale/it/etc/e-smith/web/functions/usbdisks b/root/etc/e-smith/locale/it/etc/e-smith/web/functions/usbdisks
new file mode 100644
index 0000000..d5fdf50
--- /dev/null
+++ b/root/etc/e-smith/locale/it/etc/e-smith/web/functions/usbdisks
@@ -0,0 +1,263 @@
+
+
+tr_description
+Scopo di Usbdisks è aiutare nella gestione dei dischi USB e Firewire
Gli UUID devono essere supportati dal filesystem del disco / dispositivo
]]>
+
+
+
+tr_aide
+Aiuto
+
+
+
+tr_menu_config
+Configurazione
+
+
+
+tr_menu_accueil
+Principale
+
+
+
+tr_disks_online
+Dischi in linea:
+
+
+
+tr_known_mounts
+Mount point noti:
+
+
+
+tr_no
+no
+
+
+
+tr_yes
+si
+
+
+
+tr_dev
+DEV
+
+
+
+tr_uuid
+UUID
+
+
+
+tr_mount
+Mount
+
+
+
+tr_fstab
+file fstab
+
+
+
+tr_label
+Etichetta
+
+
+
+tr_fs_type
+Filesystem
+
+
+
+tr_device_type
+Interfaccia
+
+
+
+tr_action
+Azione
+
+
+
+tr_mount_to
+MountTo
+
+
+
+tr_mounted_to
+Mounted_to
+
+
+
+tr_connected
+collegato
+
+
+
+tr_status
+Stato
+
+
+
+tr_success
+riuscito
+
+
+
+tr_failure
+non riuscito
+
+
+
+tr_unknown
+sconosciuto
+
+
+
+tr_add
+Aggiungi
+
+
+
+tr_modify
+Modifica
+
+
+
+
+tr_remove
+Rimuovi
+
+
+
+tr_refresh
+Aggiorna
+
+
+
+tr_removed
+Rimosso
+
+
+
+tr_added
+Aggiunto
+
+
+
+tr_save_label
+Salva dati
+
+
+
+tr_save_button
+Salva
+
+
+
+tr_rapport
+Riepilogo
+
+
+
+tr_with
+con
+
+
+
+tr_title_ajout
+Aggiungi disco
+
+
+
+tr_titre_modifier
+Modifica disco
+
+
+
+tr_titre_accueil
+Principale
+
+
+
+tr_enabled
+abilitato
+
+
+
+tr_disabled
+disabilitato
+
+
+
+tr_removed
+rimosso
+
+
+
+tr_titre_config
+Configurazione
+
+
+
+tr_frequence
+Frequenza
+
+
+
+tr_incorect
+sbagliato
+
+
+
+tr_forbidden_directory
+cartella non autorizzata
+
+
+
+tr_directory_does_not_exist
+cartella inesistente
+
+
+
+tr_uuidgenerate
+genera UUID
+
+
+
+tr_status_mountto
+auto mount su
+
+
+
+tr_status_mountmedia
+auto media
+
+
+
+tr_options_mount_to
+Opzione mount -o
+
+
+
+tr_status_media
+Stato /media/
+
+
+
+tr_status_mediaG
+Stato /media/ conosciuto
+
+
+
+tr_status_mediaU
+Stato /media/ sconosciuto
+
+
+
+tr_pageaide
+http://wiki.contribs.org/Disk_Manager
+
+
+
diff --git a/root/etc/e-smith/locale/ja/etc/e-smith/web/functions/usbdisks b/root/etc/e-smith/locale/ja/etc/e-smith/web/functions/usbdisks
new file mode 100644
index 0000000..6700790
--- /dev/null
+++ b/root/etc/e-smith/locale/ja/etc/e-smith/web/functions/usbdisks
@@ -0,0 +1,263 @@
+
+
+tr_description
+Usbdisks purpose is to help managing USB, and also FireWire, hard drives
UUID must be supported by the disk / device filesystem
]]>
+
+
+
+tr_aide
+ヘルプ
+
+
+
+tr_menu_config
+設定
+
+
+
+tr_menu_accueil
+Main
+
+
+
+tr_disks_online
+Online drive:
+
+
+
+tr_known_mounts
+Mount points known:
+
+
+
+tr_no
+no
+
+
+
+tr_yes
+yes
+
+
+
+tr_dev
+DEV
+
+
+
+tr_uuid
+UUID
+
+
+
+tr_mount
+マウント
+
+
+
+tr_fstab
+fstab file
+
+
+
+tr_label
+ラベル
+
+
+
+tr_fs_type
+ファイルシステム
+
+
+
+tr_device_type
+インターフェイス
+
+
+
+tr_action
+Action
+
+
+
+tr_mount_to
+MountTo
+
+
+
+tr_mounted_to
+Mounted_to
+
+
+
+tr_connected
+plugged
+
+
+
+tr_status
+状態
+
+
+
+tr_success
+succeded
+
+
+
+tr_failure
+failure
+
+
+
+tr_unknown
+unknown
+
+
+
+tr_add
+追加
+
+
+
+tr_modify
+更新
+
+
+
+
+tr_remove
+削除
+
+
+
+tr_refresh
+リフレッシュ
+
+
+
+tr_removed
+Removed
+
+
+
+tr_added
+追加日
+
+
+
+tr_save_label
+Save data
+
+
+
+tr_save_button
+保存
+
+
+
+tr_rapport
+Report
+
+
+
+tr_with
+with
+
+
+
+tr_title_ajout
+Add this drive
+
+
+
+tr_titre_modifier
+Modify this drive
+
+
+
+tr_titre_accueil
+Main
+
+
+
+tr_enabled
+enabled
+
+
+
+tr_disabled
+disabled
+
+
+
+tr_removed
+removed
+
+
+
+tr_titre_config
+設定
+
+
+
+tr_frequence
+よくある
+
+
+
+tr_incorect
+incorrect
+
+
+
+tr_forbidden_directory
+unauthorised directory
+
+
+
+tr_directory_does_not_exist
+no such directory
+
+
+
+tr_uuidgenerate
+generate UUID
+
+
+
+tr_status_mountto
+auto mount to
+
+
+
+tr_status_mountmedia
+auto media
+
+
+
+tr_options_mount_to
+Options mount -o
+
+
+
+tr_status_media
+Status /media/
+
+
+
+tr_status_mediaG
+Status /media/ known
+
+
+
+tr_status_mediaU
+Status /media/ unknown
+
+
+
+tr_pageaide
+http://wiki.contribs.org/Disk_Manager
+
+
+
diff --git a/root/etc/e-smith/locale/nb/etc/e-smith/web/functions/usbdisks b/root/etc/e-smith/locale/nb/etc/e-smith/web/functions/usbdisks
new file mode 100644
index 0000000..6dc5010
--- /dev/null
+++ b/root/etc/e-smith/locale/nb/etc/e-smith/web/functions/usbdisks
@@ -0,0 +1,263 @@
+
+
+tr_description
+Usbdisks purpose is to help managing USB, and also FireWire, hard drives
UUID must be supported by the disk / device filesystem
]]>
+
+
+
+tr_aide
+Hjelp
+
+
+
+tr_menu_config
+Oppsett
+
+
+
+tr_menu_accueil
+Main
+
+
+
+tr_disks_online
+Online drive:
+
+
+
+tr_known_mounts
+Mount points known:
+
+
+
+tr_no
+no
+
+
+
+tr_yes
+yes
+
+
+
+tr_dev
+DEV
+
+
+
+tr_uuid
+UUID
+
+
+
+tr_mount
+Monter
+
+
+
+tr_fstab
+fstab file
+
+
+
+tr_label
+Etikett
+
+
+
+tr_fs_type
+Filsystem
+
+
+
+tr_device_type
+Grensesnitt
+
+
+
+tr_action
+Handling
+
+
+
+tr_mount_to
+MountTo
+
+
+
+tr_mounted_to
+Mounted_to
+
+
+
+tr_connected
+plugged
+
+
+
+tr_status
+Status
+
+
+
+tr_success
+succeded
+
+
+
+tr_failure
+failure
+
+
+
+tr_unknown
+ukjent
+
+
+
+tr_add
+Legg til
+
+
+
+tr_modify
+Endre
+
+
+
+
+tr_remove
+Fjern
+
+
+
+tr_refresh
+Oppdater
+
+
+
+tr_removed
+Removed
+
+
+
+tr_added
+Lagt til den
+
+
+
+tr_save_label
+Save data
+
+
+
+tr_save_button
+Lagre
+
+
+
+tr_rapport
+Report
+
+
+
+tr_with
+with
+
+
+
+tr_title_ajout
+Add this drive
+
+
+
+tr_titre_modifier
+Modify this drive
+
+
+
+tr_titre_accueil
+Main
+
+
+
+tr_enabled
+aktivert
+
+
+
+tr_disabled
+deaktivert
+
+
+
+tr_removed
+removed
+
+
+
+tr_titre_config
+Oppsett
+
+
+
+tr_frequence
+Frekvens
+
+
+
+tr_incorect
+incorrect
+
+
+
+tr_forbidden_directory
+unauthorised directory
+
+
+
+tr_directory_does_not_exist
+no such directory
+
+
+
+tr_uuidgenerate
+generate UUID
+
+
+
+tr_status_mountto
+auto mount to
+
+
+
+tr_status_mountmedia
+auto media
+
+
+
+tr_options_mount_to
+Options mount -o
+
+
+
+tr_status_media
+Status /media/
+
+
+
+tr_status_mediaG
+Status /media/ known
+
+
+
+tr_status_mediaU
+Status /media/ unknown
+
+
+
+tr_pageaide
+http://wiki.contribs.org/Disk_Manager
+
+
+
diff --git a/root/etc/e-smith/locale/nl/etc/e-smith/web/functions/usbdisks b/root/etc/e-smith/locale/nl/etc/e-smith/web/functions/usbdisks
new file mode 100644
index 0000000..fbf0e6c
--- /dev/null
+++ b/root/etc/e-smith/locale/nl/etc/e-smith/web/functions/usbdisks
@@ -0,0 +1,263 @@
+
+
+tr_description
+Usbdisks purpose is to help managing USB, and also FireWire, hard drives
UUID must be supported by the disk / device filesystem
]]>
+
+
+
+tr_aide
+Hulp
+
+
+
+tr_menu_config
+Configuratie
+
+
+
+tr_menu_accueil
+Hoofd
+
+
+
+tr_disks_online
+Actieve schijfstations:
+
+
+
+tr_known_mounts
+Bekende mount punten:
+
+
+
+tr_no
+nee
+
+
+
+tr_yes
+ja
+
+
+
+tr_dev
+Apparaat
+
+
+
+tr_uuid
+UUID
+
+
+
+tr_mount
+Aankoppelen
+
+
+
+tr_fstab
+fstab bestand
+
+
+
+tr_label
+Label
+
+
+
+tr_fs_type
+Bestandssysteem
+
+
+
+tr_device_type
+Koppeling
+
+
+
+tr_action
+Actie
+
+
+
+tr_mount_to
+Aankoppelen aan
+
+
+
+tr_mounted_to
+Aangekoppeld aan
+
+
+
+tr_connected
+verbonden
+
+
+
+tr_status
+Status
+
+
+
+tr_success
+geslaagd
+
+
+
+tr_failure
+fout
+
+
+
+tr_unknown
+onbekend
+
+
+
+tr_add
+Toevoegen
+
+
+
+tr_modify
+Wijzigen
+
+
+
+
+tr_remove
+Verwijderen
+
+
+
+tr_refresh
+Verversen
+
+
+
+tr_removed
+Verwijderd
+
+
+
+tr_added
+Toegevoegd
+
+
+
+tr_save_label
+Gegevens opslaan
+
+
+
+tr_save_button
+Opslaan
+
+
+
+tr_rapport
+Rapport
+
+
+
+tr_with
+met
+
+
+
+tr_title_ajout
+Dit schijfstation toevoegen
+
+
+
+tr_titre_modifier
+Dit schijfstation wijzigen
+
+
+
+tr_titre_accueil
+Hoofd
+
+
+
+tr_enabled
+geactiveerd
+
+
+
+tr_disabled
+gedeactiveerd
+
+
+
+tr_removed
+verwijderd
+
+
+
+tr_titre_config
+Configuratie
+
+
+
+tr_frequence
+Frequentie
+
+
+
+tr_incorect
+onjuist
+
+
+
+tr_forbidden_directory
+niet geautoriseerde map
+
+
+
+tr_directory_does_not_exist
+deze map bestaat niet
+
+
+
+tr_uuidgenerate
+genereer UUID
+
+
+
+tr_status_mountto
+automatisch aankoppelen aan
+
+
+
+tr_status_mountmedia
+auto media
+
+
+
+tr_options_mount_to
+Opties mount -o
+
+
+
+tr_status_media
+Status /media/
+
+
+
+tr_status_mediaG
+Status /media/ bekend
+
+
+
+tr_status_mediaU
+Status /media/ onbekend
+
+
+
+tr_pageaide
+http://wiki.contribs.org/Disk_Manager
+
+
+
diff --git a/root/etc/e-smith/locale/pl/etc/e-smith/web/functions/usbdisks b/root/etc/e-smith/locale/pl/etc/e-smith/web/functions/usbdisks
new file mode 100644
index 0000000..df8ad97
--- /dev/null
+++ b/root/etc/e-smith/locale/pl/etc/e-smith/web/functions/usbdisks
@@ -0,0 +1,263 @@
+
+
+tr_description
+Usbdisks purpose is to help managing USB, and also FireWire, hard drives
UUID must be supported by the disk / device filesystem
]]>
+
+
+
+tr_aide
+Pomoc
+
+
+
+tr_menu_config
+Konfiguracja
+
+
+
+tr_menu_accueil
+Main
+
+
+
+tr_disks_online
+Online drive:
+
+
+
+tr_known_mounts
+Mount points known:
+
+
+
+tr_no
+no
+
+
+
+tr_yes
+yes
+
+
+
+tr_dev
+DEV
+
+
+
+tr_uuid
+UUID
+
+
+
+tr_mount
+Zamontuj
+
+
+
+tr_fstab
+fstab file
+
+
+
+tr_label
+Etykieta
+
+
+
+tr_fs_type
+System plików
+
+
+
+tr_device_type
+Interfejs
+
+
+
+tr_action
+Action
+
+
+
+tr_mount_to
+MountTo
+
+
+
+tr_mounted_to
+Mounted_to
+
+
+
+tr_connected
+plugged
+
+
+
+tr_status
+Stan
+
+
+
+tr_success
+succeded
+
+
+
+tr_failure
+failure
+
+
+
+tr_unknown
+nieznany/a
+
+
+
+tr_add
+Dodaj
+
+
+
+tr_modify
+Zmodyfikuj
+
+
+
+
+tr_remove
+Usuń
+
+
+
+tr_refresh
+Odśwież
+
+
+
+tr_removed
+Removed
+
+
+
+tr_added
+Dodano
+
+
+
+tr_save_label
+Save data
+
+
+
+tr_save_button
+Zapisz
+
+
+
+tr_rapport
+Report
+
+
+
+tr_with
+with
+
+
+
+tr_title_ajout
+Add this drive
+
+
+
+tr_titre_modifier
+Modify this drive
+
+
+
+tr_titre_accueil
+Main
+
+
+
+tr_enabled
+enabled
+
+
+
+tr_disabled
+disabled
+
+
+
+tr_removed
+removed
+
+
+
+tr_titre_config
+Konfiguracja
+
+
+
+tr_frequence
+Częstotliwość
+
+
+
+tr_incorect
+incorrect
+
+
+
+tr_forbidden_directory
+unauthorised directory
+
+
+
+tr_directory_does_not_exist
+no such directory
+
+
+
+tr_uuidgenerate
+generate UUID
+
+
+
+tr_status_mountto
+auto mount to
+
+
+
+tr_status_mountmedia
+auto media
+
+
+
+tr_options_mount_to
+Options mount -o
+
+
+
+tr_status_media
+Status /media/
+
+
+
+tr_status_mediaG
+Status /media/ known
+
+
+
+tr_status_mediaU
+Status /media/ unknown
+
+
+
+tr_pageaide
+http://wiki.contribs.org/Disk_Manager
+
+
+
diff --git a/root/etc/e-smith/locale/pt-br/etc/e-smith/web/functions/usbdisks b/root/etc/e-smith/locale/pt-br/etc/e-smith/web/functions/usbdisks
new file mode 100644
index 0000000..25dd271
--- /dev/null
+++ b/root/etc/e-smith/locale/pt-br/etc/e-smith/web/functions/usbdisks
@@ -0,0 +1,263 @@
+
+
+tr_description
+Usbdisks purpose is to help managing USB, and also FireWire, hard drives
UUID must be supported by the disk / device filesystem
]]>
+
+
+
+tr_aide
+Ajuda
+
+
+
+tr_menu_config
+Configuração
+
+
+
+tr_menu_accueil
+Principal
+
+
+
+tr_disks_online
+Drive online:
+
+
+
+tr_known_mounts
+Pontos de montagem conhecidos:
+
+
+
+tr_no
+não
+
+
+
+tr_yes
+sim
+
+
+
+tr_dev
+DEV
+
+
+
+tr_uuid
+UUID
+
+
+
+tr_mount
+Montar
+
+
+
+tr_fstab
+arquivo fstab
+
+
+
+tr_label
+Rótulo
+
+
+
+tr_fs_type
+Sistema de Arquivos
+
+
+
+tr_device_type
+Interface
+
+
+
+tr_action
+Ação
+
+
+
+tr_mount_to
+Montar para
+
+
+
+tr_mounted_to
+Montado em
+
+
+
+tr_connected
+conectado
+
+
+
+tr_status
+Status
+
+
+
+tr_success
+bem sucedido
+
+
+
+tr_failure
+falha
+
+
+
+tr_unknown
+desconhecido
+
+
+
+tr_add
+Adicionar
+
+
+
+tr_modify
+Modificar
+
+
+
+
+tr_remove
+Remover
+
+
+
+tr_refresh
+Atualizar
+
+
+
+tr_removed
+Removido
+
+
+
+tr_added
+Adicionado
+
+
+
+tr_save_label
+Salvar dados
+
+
+
+tr_save_button
+Salvar
+
+
+
+tr_rapport
+Relatório
+
+
+
+tr_with
+com
+
+
+
+tr_title_ajout
+Adicionar este drive
+
+
+
+tr_titre_modifier
+Modificar este drive
+
+
+
+tr_titre_accueil
+Principal
+
+
+
+tr_enabled
+habilitado
+
+
+
+tr_disabled
+desabilitado
+
+
+
+tr_removed
+removido
+
+
+
+tr_titre_config
+Configuração
+
+
+
+tr_frequence
+Frequência
+
+
+
+tr_incorect
+incorreto
+
+
+
+tr_forbidden_directory
+diretório não autorizado
+
+
+
+tr_directory_does_not_exist
+diretório não existente
+
+
+
+tr_uuidgenerate
+gerar UUID
+
+
+
+tr_status_mountto
+montar automaticamente para
+
+
+
+tr_status_mountmedia
+mídia automática
+
+
+
+tr_options_mount_to
+Opção de montagem -o
+
+
+
+tr_status_media
+Status /media/
+
+
+
+tr_status_mediaG
+Status /media/ conhecidas
+
+
+
+tr_status_mediaU
+Status /media/ desconhecidas
+
+
+
+tr_pageaide
+http://wiki.contribs.org/Disk_Manager
+
+
+
diff --git a/root/etc/e-smith/locale/pt/etc/e-smith/web/functions/usbdisks b/root/etc/e-smith/locale/pt/etc/e-smith/web/functions/usbdisks
new file mode 100644
index 0000000..482ed24
--- /dev/null
+++ b/root/etc/e-smith/locale/pt/etc/e-smith/web/functions/usbdisks
@@ -0,0 +1,263 @@
+
+
+tr_description
+Usbdisks purpose is to help managing USB, and also FireWire, hard drives
UUID must be supported by the disk / device filesystem
]]>
+
+
+
+tr_aide
+Ajuda
+
+
+
+tr_menu_config
+Configuração
+
+
+
+tr_menu_accueil
+Principal
+
+
+
+tr_disks_online
+Drive online:
+
+
+
+tr_known_mounts
+Pontos de montagem conhecidos:
+
+
+
+tr_no
+não
+
+
+
+tr_yes
+sim
+
+
+
+tr_dev
+DEV
+
+
+
+tr_uuid
+UUID
+
+
+
+tr_mount
+Montar
+
+
+
+tr_fstab
+arquivo fstab
+
+
+
+tr_label
+Rótulo
+
+
+
+tr_fs_type
+Sistema de Arquivos
+
+
+
+tr_device_type
+Interface
+
+
+
+tr_action
+Ação
+
+
+
+tr_mount_to
+Montar para
+
+
+
+tr_mounted_to
+Montado em
+
+
+
+tr_connected
+conectado
+
+
+
+tr_status
+Status
+
+
+
+tr_success
+bem sucedido
+
+
+
+tr_failure
+falha
+
+
+
+tr_unknown
+desconhecido
+
+
+
+tr_add
+Adicionar
+
+
+
+tr_modify
+Modificar
+
+
+
+
+tr_remove
+Remover
+
+
+
+tr_refresh
+Atualizar
+
+
+
+tr_removed
+Removido
+
+
+
+tr_added
+Adicionado
+
+
+
+tr_save_label
+Salvar dados
+
+
+
+tr_save_button
+Salvar
+
+
+
+tr_rapport
+Relatório
+
+
+
+tr_with
+com
+
+
+
+tr_title_ajout
+Adicionar este drive
+
+
+
+tr_titre_modifier
+Modificar este drive
+
+
+
+tr_titre_accueil
+Principal
+
+
+
+tr_enabled
+habilitado
+
+
+
+tr_disabled
+desabilitado
+
+
+
+tr_removed
+removido
+
+
+
+tr_titre_config
+Configuração
+
+
+
+tr_frequence
+Frequência
+
+
+
+tr_incorect
+incorreto
+
+
+
+tr_forbidden_directory
+diretório não autorizado
+
+
+
+tr_directory_does_not_exist
+diretório não existente
+
+
+
+tr_uuidgenerate
+gerar UUID
+
+
+
+tr_status_mountto
+montar automaticamente para
+
+
+
+tr_status_mountmedia
+mídia automática
+
+
+
+tr_options_mount_to
+Opção de montagem -o
+
+
+
+tr_status_media
+Status /media/
+
+
+
+tr_status_mediaG
+Status /media/ conhecidas
+
+
+
+tr_status_mediaU
+Status /media/ desconhecidas
+
+
+
+tr_pageaide
+http://wiki.contribs.org/Disk_Manager
+
+
+
diff --git a/root/etc/e-smith/locale/ro/etc/e-smith/web/functions/usbdisks b/root/etc/e-smith/locale/ro/etc/e-smith/web/functions/usbdisks
new file mode 100644
index 0000000..fa09b2f
--- /dev/null
+++ b/root/etc/e-smith/locale/ro/etc/e-smith/web/functions/usbdisks
@@ -0,0 +1,263 @@
+
+
+tr_description
+Scopul Usbdisks este de a contola discurile USB și FireWire
UUID trebuie să fie suportat de disc / sistemul de fișiere
]]>
+
+
+
+tr_aide
+Ajutor
+
+
+
+tr_menu_config
+Configurare
+
+
+
+tr_menu_accueil
+Principal
+
+
+
+tr_disks_online
+Disc online:
+
+
+
+tr_known_mounts
+Punct de montaj cunoscut:
+
+
+
+tr_no
+nu
+
+
+
+tr_yes
+da
+
+
+
+tr_dev
+Dispozitiv
+
+
+
+tr_uuid
+UUID
+
+
+
+tr_mount
+Montează
+
+
+
+tr_fstab
+fișier fstab
+
+
+
+tr_label
+Etichetă
+
+
+
+tr_fs_type
+Sistem de fișiere
+
+
+
+tr_device_type
+Interfată
+
+
+
+tr_action
+Acțiune
+
+
+
+tr_mount_to
+Montează la
+
+
+
+tr_mounted_to
+Montat la
+
+
+
+tr_connected
+conectat
+
+
+
+tr_status
+Stare
+
+
+
+tr_success
+Reusit(a)
+
+
+
+tr_failure
+nereusit([ă)
+
+
+
+tr_unknown
+necunoscut
+
+
+
+tr_add
+Adaugă
+
+
+
+tr_modify
+Modifică
+
+
+
+
+tr_remove
+Elimină
+
+
+
+tr_refresh
+Reactualizează
+
+
+
+tr_removed
+Înlăturat
+
+
+
+tr_added
+Adăugat
+
+
+
+tr_save_label
+Salvează datele
+
+
+
+tr_save_button
+Salvează
+
+
+
+tr_rapport
+Raport
+
+
+
+tr_with
+cu
+
+
+
+tr_title_ajout
+Adaugă acest disc
+
+
+
+tr_titre_modifier
+Modifică acest disc
+
+
+
+tr_titre_accueil
+Principal
+
+
+
+tr_enabled
+activat
+
+
+
+tr_disabled
+dezactivat
+
+
+
+tr_removed
+înlăturat
+
+
+
+tr_titre_config
+Configurare
+
+
+
+tr_frequence
+Frecventă
+
+
+
+tr_incorect
+incorect
+
+
+
+tr_forbidden_directory
+director neautorizat
+
+
+
+tr_directory_does_not_exist
+director inexistent
+
+
+
+tr_uuidgenerate
+generează UUID
+
+
+
+tr_status_mountto
+montează automat la
+
+
+
+tr_status_mountmedia
+auto media
+
+
+
+tr_options_mount_to
+Opțiune mount -o
+
+
+
+tr_status_media
+Statut /media/
+
+
+
+tr_status_mediaG
+Statut /media/ cunoscut
+
+
+
+tr_status_mediaU
+Statut /media/ necunoscut
+
+
+
+tr_pageaide
+http://wiki.contribs.org/Disk_Manager
+
+
+
diff --git a/root/etc/e-smith/locale/ru/etc/e-smith/web/functions/usbdisks b/root/etc/e-smith/locale/ru/etc/e-smith/web/functions/usbdisks
new file mode 100644
index 0000000..6683f98
--- /dev/null
+++ b/root/etc/e-smith/locale/ru/etc/e-smith/web/functions/usbdisks
@@ -0,0 +1,263 @@
+
+
+tr_description
+Usbdisks purpose is to help managing USB, and also FireWire, hard drives
UUID must be supported by the disk / device filesystem
]]>
+
+
+
+tr_aide
+Помощь
+
+
+
+tr_menu_config
+Конфигурация
+
+
+
+tr_menu_accueil
+Основное
+
+
+
+tr_disks_online
+Подключеный диск:
+
+
+
+tr_known_mounts
+Точки монтирования известны:
+
+
+
+tr_no
+нет
+
+
+
+tr_yes
+да
+
+
+
+tr_dev
+DEV
+
+
+
+tr_uuid
+UUID
+
+
+
+tr_mount
+Монтирование
+
+
+
+tr_fstab
+файл fstab
+
+
+
+tr_label
+Метка
+
+
+
+tr_fs_type
+Файловая система
+
+
+
+tr_device_type
+Интерфейс
+
+
+
+tr_action
+Действие
+
+
+
+tr_mount_to
+MountTo
+
+
+
+tr_mounted_to
+Mounted_to
+
+
+
+tr_connected
+подключен
+
+
+
+tr_status
+Состояние
+
+
+
+tr_success
+успешно
+
+
+
+tr_failure
+неудачно
+
+
+
+tr_unknown
+неизвестно
+
+
+
+tr_add
+Добавить
+
+
+
+tr_modify
+Изменить
+
+
+
+
+tr_remove
+Удалить
+
+
+
+tr_refresh
+Обновить
+
+
+
+tr_removed
+Удалено
+
+
+
+tr_added
+Добавлено
+
+
+
+tr_save_label
+Сохранить данные
+
+
+
+tr_save_button
+Сохранить
+
+
+
+tr_rapport
+Отчёт
+
+
+
+tr_with
+with
+
+
+
+tr_title_ajout
+Добавить этот диск
+
+
+
+tr_titre_modifier
+Изменить этот диск
+
+
+
+tr_titre_accueil
+Основное
+
+
+
+tr_enabled
+включено
+
+
+
+tr_disabled
+отключено
+
+
+
+tr_removed
+удалено
+
+
+
+tr_titre_config
+Конфигурация
+
+
+
+tr_frequence
+Частота
+
+
+
+tr_incorect
+неверно
+
+
+
+tr_forbidden_directory
+unauthorised directory
+
+
+
+tr_directory_does_not_exist
+нет такого каталога
+
+
+
+tr_uuidgenerate
+сгенерировать UUID
+
+
+
+tr_status_mountto
+автоматически монтировать в
+
+
+
+tr_status_mountmedia
+auto media
+
+
+
+tr_options_mount_to
+Опции mount -o
+
+
+
+tr_status_media
+Состояние /media/
+
+
+
+tr_status_mediaG
+Состояние /media/ известно
+
+
+
+tr_status_mediaU
+Состояние /media/ неизвестно
+
+
+
+tr_pageaide
+http://wiki.contribs.org/Disk_Manager
+
+
+
diff --git a/root/etc/e-smith/locale/sl/etc/e-smith/web/functions/usbdisks b/root/etc/e-smith/locale/sl/etc/e-smith/web/functions/usbdisks
new file mode 100644
index 0000000..d2e45b2
--- /dev/null
+++ b/root/etc/e-smith/locale/sl/etc/e-smith/web/functions/usbdisks
@@ -0,0 +1,263 @@
+
+
+tr_description
+Usbdisks purpose is to help managing USB, and also FireWire, hard drives
UUID must be supported by the disk / device filesystem
]]>
+
+
+
+tr_aide
+Pomoč
+
+
+
+tr_menu_config
+Konfiguracija
+
+
+
+tr_menu_accueil
+Main
+
+
+
+tr_disks_online
+Online drive:
+
+
+
+tr_known_mounts
+Mount points known:
+
+
+
+tr_no
+no
+
+
+
+tr_yes
+yes
+
+
+
+tr_dev
+DEV
+
+
+
+tr_uuid
+UUID
+
+
+
+tr_mount
+Mount
+
+
+
+tr_fstab
+fstab file
+
+
+
+tr_label
+Label
+
+
+
+tr_fs_type
+Filesystem
+
+
+
+tr_device_type
+Interface
+
+
+
+tr_action
+Izvedi
+
+
+
+tr_mount_to
+MountTo
+
+
+
+tr_mounted_to
+Mounted_to
+
+
+
+tr_connected
+plugged
+
+
+
+tr_status
+Status
+
+
+
+tr_success
+succeded
+
+
+
+tr_failure
+failure
+
+
+
+tr_unknown
+neznan
+
+
+
+tr_add
+Dodaj
+
+
+
+tr_modify
+Uredi
+
+
+
+
+tr_remove
+Odstrani
+
+
+
+tr_refresh
+Refresh
+
+
+
+tr_removed
+Removed
+
+
+
+tr_added
+Dodano
+
+
+
+tr_save_label
+Save data
+
+
+
+tr_save_button
+Shrani
+
+
+
+tr_rapport
+Report
+
+
+
+tr_with
+with
+
+
+
+tr_title_ajout
+Add this drive
+
+
+
+tr_titre_modifier
+Modify this drive
+
+
+
+tr_titre_accueil
+Main
+
+
+
+tr_enabled
+enabled
+
+
+
+tr_disabled
+disabled
+
+
+
+tr_removed
+removed
+
+
+
+tr_titre_config
+Konfiguracija
+
+
+
+tr_frequence
+Frequency
+
+
+
+tr_incorect
+incorrect
+
+
+
+tr_forbidden_directory
+unauthorised directory
+
+
+
+tr_directory_does_not_exist
+no such directory
+
+
+
+tr_uuidgenerate
+generate UUID
+
+
+
+tr_status_mountto
+auto mount to
+
+
+
+tr_status_mountmedia
+auto media
+
+
+
+tr_options_mount_to
+Options mount -o
+
+
+
+tr_status_media
+Status /media/
+
+
+
+tr_status_mediaG
+Status /media/ known
+
+
+
+tr_status_mediaU
+Status /media/ unknown
+
+
+
+tr_pageaide
+http://wiki.contribs.org/Disk_Manager
+
+
+
diff --git a/root/etc/e-smith/locale/sv/etc/e-smith/web/functions/usbdisks b/root/etc/e-smith/locale/sv/etc/e-smith/web/functions/usbdisks
new file mode 100644
index 0000000..a2223a5
--- /dev/null
+++ b/root/etc/e-smith/locale/sv/etc/e-smith/web/functions/usbdisks
@@ -0,0 +1,263 @@
+
+
+tr_description
+Usbdisks purpose is to help managing USB, and also FireWire, hard drives
UUID must be supported by the disk / device filesystem
]]>
+
+
+
+tr_aide
+Hjälp
+
+
+
+tr_menu_config
+Konfiguration
+
+
+
+tr_menu_accueil
+Huvud
+
+
+
+tr_disks_online
+Online enhet:
+
+
+
+tr_known_mounts
+Monteringspunkter kända:
+
+
+
+tr_no
+nej
+
+
+
+tr_yes
+ja
+
+
+
+tr_dev
+DEV
+
+
+
+tr_uuid
+UUID
+
+
+
+tr_mount
+Montera
+
+
+
+tr_fstab
+fstab-fil
+
+
+
+tr_label
+Label
+
+
+
+tr_fs_type
+Filsystem
+
+
+
+tr_device_type
+Interface
+
+
+
+tr_action
+Verkställ
+
+
+
+tr_mount_to
+MountTo
+
+
+
+tr_mounted_to
+Mounted_to
+
+
+
+tr_connected
+pluggad
+
+
+
+tr_status
+Status
+
+
+
+tr_success
+verkställdes
+
+
+
+tr_failure
+misslyckades
+
+
+
+tr_unknown
+okänd
+
+
+
+tr_add
+Lägg till
+
+
+
+tr_modify
+Ändra
+
+
+
+
+tr_remove
+Radera
+
+
+
+tr_refresh
+Uppdatera
+
+
+
+tr_removed
+Borttagen
+
+
+
+tr_added
+Tillagd
+
+
+
+tr_save_label
+Spara data
+
+
+
+tr_save_button
+Spara
+
+
+
+tr_rapport
+Rapport
+
+
+
+tr_with
+med
+
+
+
+tr_title_ajout
+Lägg till denna enhet
+
+
+
+tr_titre_modifier
+Ändra denna enhet
+
+
+
+tr_titre_accueil
+Huvud
+
+
+
+tr_enabled
+aktiverad
+
+
+
+tr_disabled
+inaktiverad
+
+
+
+tr_removed
+borttagen
+
+
+
+tr_titre_config
+Konfiguration
+
+
+
+tr_frequence
+Frekvens
+
+
+
+tr_incorect
+felaktig
+
+
+
+tr_forbidden_directory
+ej auktoriserad mapp
+
+
+
+tr_directory_does_not_exist
+ingen sådan mapp
+
+
+
+tr_uuidgenerate
+skapa UUID
+
+
+
+tr_status_mountto
+automontera till
+
+
+
+tr_status_mountmedia
+automedia
+
+
+
+tr_options_mount_to
+Optioner montera -o
+
+
+
+tr_status_media
+Status /media/
+
+
+
+tr_status_mediaG
+Status /media/ känd
+
+
+
+tr_status_mediaU
+Status /media/ okänd
+
+
+
+tr_pageaide
+http://wiki.contribs.org/Disk_Manager
+
+
+
diff --git a/root/etc/e-smith/locale/th/etc/e-smith/web/functions/usbdisks b/root/etc/e-smith/locale/th/etc/e-smith/web/functions/usbdisks
new file mode 100644
index 0000000..1d47b72
--- /dev/null
+++ b/root/etc/e-smith/locale/th/etc/e-smith/web/functions/usbdisks
@@ -0,0 +1,263 @@
+
+
+tr_description
+Usbdisks purpose is to help managing USB, and also FireWire, hard drives
UUID must be supported by the disk / device filesystem
]]>
+
+
+
+tr_aide
+ช่วยด้วย, ช่วยเหลือ, ระบบช่วยเหลือ, วิธีใช้
+
+
+
+tr_menu_config
+การตั้งค่าของระบบ
+
+
+
+tr_menu_accueil
+Main
+
+
+
+tr_disks_online
+Online drive:
+
+
+
+tr_known_mounts
+Mount points known:
+
+
+
+tr_no
+no
+
+
+
+tr_yes
+yes
+
+
+
+tr_dev
+DEV
+
+
+
+tr_uuid
+UUID
+
+
+
+tr_mount
+Mount
+
+
+
+tr_fstab
+fstab file
+
+
+
+tr_label
+ป้ายชื่อ, แถบข้อความ
+
+
+
+tr_fs_type
+Filesystem
+
+
+
+tr_device_type
+อินเทอร์เฟซ
+
+
+
+tr_action
+การดำเนินการ
+
+
+
+tr_mount_to
+MountTo
+
+
+
+tr_mounted_to
+Mounted_to
+
+
+
+tr_connected
+plugged
+
+
+
+tr_status
+สถานะ
+
+
+
+tr_success
+succeded
+
+
+
+tr_failure
+failure
+
+
+
+tr_unknown
+unknown
+
+
+
+tr_add
+เพิ่ม
+
+
+
+tr_modify
+แก้ไข
+
+
+
+
+tr_remove
+ลบ
+
+
+
+tr_refresh
+เขียนจอใหม่, ฟื้นฟู, เรียกใหม่
+
+
+
+tr_removed
+Removed
+
+
+
+tr_added
+Added
+
+
+
+tr_save_label
+Save data
+
+
+
+tr_save_button
+บันทึก
+
+
+
+tr_rapport
+Report
+
+
+
+tr_with
+with
+
+
+
+tr_title_ajout
+Add this drive
+
+
+
+tr_titre_modifier
+Modify this drive
+
+
+
+tr_titre_accueil
+Main
+
+
+
+tr_enabled
+enabled
+
+
+
+tr_disabled
+disabled
+
+
+
+tr_removed
+removed
+
+
+
+tr_titre_config
+การตั้งค่าของระบบ
+
+
+
+tr_frequence
+ความถี่
+
+
+
+tr_incorect
+incorrect
+
+
+
+tr_forbidden_directory
+unauthorised directory
+
+
+
+tr_directory_does_not_exist
+no such directory
+
+
+
+tr_uuidgenerate
+generate UUID
+
+
+
+tr_status_mountto
+auto mount to
+
+
+
+tr_status_mountmedia
+auto media
+
+
+
+tr_options_mount_to
+Options mount -o
+
+
+
+tr_status_media
+Status /media/
+
+
+
+tr_status_mediaG
+Status /media/ known
+
+
+
+tr_status_mediaU
+Status /media/ unknown
+
+
+
+tr_pageaide
+http://wiki.contribs.org/Disk_Manager
+
+
+
diff --git a/root/etc/e-smith/locale/tr/etc/e-smith/web/functions/usbdisks b/root/etc/e-smith/locale/tr/etc/e-smith/web/functions/usbdisks
new file mode 100644
index 0000000..7b12bf7
--- /dev/null
+++ b/root/etc/e-smith/locale/tr/etc/e-smith/web/functions/usbdisks
@@ -0,0 +1,263 @@
+
+
+tr_description
+Usbdisks purpose is to help managing USB, and also FireWire, hard drives
UUID must be supported by the disk / device filesystem
]]>
+
+
+
+tr_aide
+Yardım
+
+
+
+tr_menu_config
+Konfigürasyon
+
+
+
+tr_menu_accueil
+Başlıca
+
+
+
+tr_disks_online
+Çevrimiçi sürücü:
+
+
+
+tr_known_mounts
+Bilinen bağlama noktaları
+
+
+
+tr_no
+hayır
+
+
+
+tr_yes
+evet
+
+
+
+tr_dev
+DEV
+
+
+
+tr_uuid
+UUID
+
+
+
+tr_mount
+Bağla
+
+
+
+tr_fstab
+fstab dosyası
+
+
+
+tr_label
+Etiket
+
+
+
+tr_fs_type
+Dosya sistemi
+
+
+
+tr_device_type
+Arayüz
+
+
+
+tr_action
+Eylem
+
+
+
+tr_mount_to
+Buraya bağla
+
+
+
+tr_mounted_to
+Bağlı
+
+
+
+tr_connected
+eklenmiş
+
+
+
+tr_status
+Durum
+
+
+
+tr_success
+başarılı
+
+
+
+tr_failure
+hata
+
+
+
+tr_unknown
+bilinmeyen
+
+
+
+tr_add
+Ekle
+
+
+
+tr_modify
+Değiştir
+
+
+
+
+tr_remove
+Kaldır
+
+
+
+tr_refresh
+Yenile
+
+
+
+tr_removed
+Silindi
+
+
+
+tr_added
+Eklendi
+
+
+
+tr_save_label
+Bilgiyi kaydet
+
+
+
+tr_save_button
+Kaydet
+
+
+
+tr_rapport
+Rapor
+
+
+
+tr_with
+ile
+
+
+
+tr_title_ajout
+Bu sürücüyü ekle
+
+
+
+tr_titre_modifier
+Bu sürücüyü değiştir
+
+
+
+tr_titre_accueil
+Başlıca
+
+
+
+tr_enabled
+Etkin
+
+
+
+tr_disabled
+etkin değil
+
+
+
+tr_removed
+silindi
+
+
+
+tr_titre_config
+Konfigürasyon
+
+
+
+tr_frequence
+Frekans
+
+
+
+tr_incorect
+yanlış
+
+
+
+tr_forbidden_directory
+erişim etkisi olmayan klasör
+
+
+
+tr_directory_does_not_exist
+klasör bulunamadı
+
+
+
+tr_uuidgenerate
+UUID oluştur
+
+
+
+tr_status_mountto
+buraya otomatik bağlan
+
+
+
+tr_status_mountmedia
+otomatik sürücü
+
+
+
+tr_options_mount_to
+Seçenekler mount -o
+
+
+
+tr_status_media
+/media/ durumu
+
+
+
+tr_status_mediaG
+/media/ bilinen durum
+
+
+
+tr_status_mediaU
+/media/ bilinmeyen durum
+
+
+
+tr_pageaide
+http://wiki.contribs.org/Disk_Manager
+
+
+
diff --git a/root/etc/e-smith/locale/zh-cn/etc/e-smith/web/functions/usbdisks b/root/etc/e-smith/locale/zh-cn/etc/e-smith/web/functions/usbdisks
new file mode 100644
index 0000000..2941487
--- /dev/null
+++ b/root/etc/e-smith/locale/zh-cn/etc/e-smith/web/functions/usbdisks
@@ -0,0 +1,263 @@
+
+
+tr_description
+Usbdisks purpose is to help managing USB, and also FireWire, hard drives
UUID must be supported by the disk / device filesystem
]]>
+
+
+
+tr_aide
+帮助
+
+
+
+tr_menu_config
+配置
+
+
+
+tr_menu_accueil
+主要的
+
+
+
+tr_disks_online
+在线的驱动器:
+
+
+
+tr_known_mounts
+已知的挂载点:
+
+
+
+tr_no
+否
+
+
+
+tr_yes
+是
+
+
+
+tr_dev
+设备
+
+
+
+tr_uuid
+UUID
+
+
+
+tr_mount
+挂载
+
+
+
+tr_fstab
+fstab 文件
+
+
+
+tr_label
+标签
+
+
+
+tr_fs_type
+文件系统
+
+
+
+tr_device_type
+接口
+
+
+
+tr_action
+动作
+
+
+
+tr_mount_to
+挂载到
+
+
+
+tr_mounted_to
+已挂载到
+
+
+
+tr_connected
+plugged
+
+
+
+tr_status
+状态
+
+
+
+tr_success
+成功
+
+
+
+tr_failure
+失败
+
+
+
+tr_unknown
+未知
+
+
+
+tr_add
+添加
+
+
+
+tr_modify
+修改
+
+
+
+
+tr_remove
+移除
+
+
+
+tr_refresh
+刷新
+
+
+
+tr_removed
+已移除
+
+
+
+tr_added
+已添加
+
+
+
+tr_save_label
+保存数据
+
+
+
+tr_save_button
+保存
+
+
+
+tr_rapport
+报告
+
+
+
+tr_with
+和
+
+
+
+tr_title_ajout
+添加这个磁盘
+
+
+
+tr_titre_modifier
+修改这个磁盘
+
+
+
+tr_titre_accueil
+主要的
+
+
+
+tr_enabled
+启用
+
+
+
+tr_disabled
+禁用
+
+
+
+tr_removed
+已移除
+
+
+
+tr_titre_config
+配置
+
+
+
+tr_frequence
+频率
+
+
+
+tr_incorect
+不正确
+
+
+
+tr_forbidden_directory
+未授权的目录
+
+
+
+tr_directory_does_not_exist
+没有那个目录
+
+
+
+tr_uuidgenerate
+生成UUID
+
+
+
+tr_status_mountto
+自动挂载到
+
+
+
+tr_status_mountmedia
+自动标记
+
+
+
+tr_options_mount_to
+mount选项
+
+
+
+tr_status_media
+/media/状态
+
+
+
+tr_status_mediaG
+Status /media/ known
+
+
+
+tr_status_mediaU
+Status /media/ unknown
+
+
+
+tr_pageaide
+http://wiki.contribs.org/Disk_Manager
+
+
+
diff --git a/root/etc/e-smith/locale/zh-tw/etc/e-smith/web/functions/usbdisks b/root/etc/e-smith/locale/zh-tw/etc/e-smith/web/functions/usbdisks
new file mode 100644
index 0000000..11ffad0
--- /dev/null
+++ b/root/etc/e-smith/locale/zh-tw/etc/e-smith/web/functions/usbdisks
@@ -0,0 +1,263 @@
+
+
+tr_description
+Usbdisks程式的目的是協助管理 USB 、FireWire 與 hard drives
磁碟的 / 根目錄裝置檔案系統需支援 UUID 。
]]>
+
+
+
+tr_aide
+協助
+
+
+
+tr_menu_config
+設定組態
+
+
+
+tr_menu_accueil
+主要
+
+
+
+tr_disks_online
+線上裝置:
+
+
+
+tr_known_mounts
+已知的掛載點:
+
+
+
+tr_no
+否
+
+
+
+tr_yes
+是
+
+
+
+tr_dev
+裝置
+
+
+
+tr_uuid
+UUID
+
+
+
+tr_mount
+掛載
+
+
+
+tr_fstab
+fstab 檔案
+
+
+
+tr_label
+標籤
+
+
+
+tr_fs_type
+檔案系統
+
+
+
+tr_device_type
+介面
+
+
+
+tr_action
+動作
+
+
+
+tr_mount_to
+掛載到
+
+
+
+tr_mounted_to
+已掛載到
+
+
+
+tr_connected
+附掛
+
+
+
+tr_status
+狀態
+
+
+
+tr_success
+成功
+
+
+
+tr_failure
+失敗
+
+
+
+tr_unknown
+未知
+
+
+
+tr_add
+新增
+
+
+
+tr_modify
+修改
+
+
+
+
+tr_remove
+移除
+
+
+
+tr_refresh
+重新整理
+
+
+
+tr_removed
+已移除
+
+
+
+tr_added
+加入
+
+
+
+tr_save_label
+保存資料
+
+
+
+tr_save_button
+儲存
+
+
+
+tr_rapport
+報告
+
+
+
+tr_with
+伴隨
+
+
+
+tr_title_ajout
+增加此裝置
+
+
+
+tr_titre_modifier
+變更此裝置
+
+
+
+tr_titre_accueil
+主要
+
+
+
+tr_enabled
+允許
+
+
+
+tr_disabled
+禁止
+
+
+
+tr_removed
+移除
+
+
+
+tr_titre_config
+設定組態
+
+
+
+tr_frequence
+頻率
+
+
+
+tr_incorect
+不正確
+
+
+
+tr_forbidden_directory
+未經授權的目錄
+
+
+
+tr_directory_does_not_exist
+無此目錄
+
+
+
+tr_uuidgenerate
+產生UUID
+
+
+
+tr_status_mountto
+自動掛載到
+
+
+
+tr_status_mountmedia
+自動媒體
+
+
+
+tr_options_mount_to
+選擇性掛載 -o
+
+
+
+tr_status_media
+關於 /media/ 的狀態
+
+
+
+tr_status_mediaG
+關於 /media/ 的已知狀態
+
+
+
+tr_status_mediaU
+關於 /media/ 的未知狀態
+
+
+
+tr_pageaide
+http://wiki.contribs.org/Disk_Manager
+
+
+
diff --git a/root/etc/e-smith/templates/etc/crontab/usbdisks b/root/etc/e-smith/templates/etc/crontab/usbdisks
new file mode 100644
index 0000000..6b29cac
--- /dev/null
+++ b/root/etc/e-smith/templates/etc/crontab/usbdisks
@@ -0,0 +1,27 @@
+{
+
+ use esmith::config;
+
+ use esmith::util;
+
+ use esmith::db;
+
+
+
+ my %conf;
+# my %usbdisks
+
+tie %conf, 'esmith::config', '/home/e-smith/db/configuration';
+#tie %usbdisks, 'esmith::config', '/home/e-smith/db/confusbdisks';
+
+$OUT .= "# Usbdisks manager\n";
+
+if ( db_get_prop(\%conf,"usbdisks","status") eq "enabled")
+ {
+ my $minutes = db_get_prop(\%conf,"usbdisks","frequence")||"2";
+
+ $OUT .= "*/$minutes * * * * root /usr/sbin/./usbdisks.sh &> /dev/null\n";
+
+ }
+}
+
diff --git a/root/etc/e-smith/web/functions/usbdisks b/root/etc/e-smith/web/functions/usbdisks
new file mode 100755
index 0000000..742a6bc
--- /dev/null
+++ b/root/etc/e-smith/web/functions/usbdisks
@@ -0,0 +1,1037 @@
+#!/usr/bin/perl -wTU
+#----------------------------------------------------------------------
+# heading : Miscellaneous
+# description : USB Disks
+# navigation : 5000 5200
+#----------------------------------------------------------------------
+# JP Pialasse January 2007
+#----------------------------------------------------------------------
+
+#package usbdisks;
+
+use diagnostics;
+use strict;
+use CGI ':all';
+use CGI::Carp qw(fatalsToBrowser);
+use esmith::db;
+use esmith::templates;
+use esmith::FormMagick;
+
+my $fm = esmith::FormMagick->new();
+$fm->parse_xml();
+
+#use Sys::Filesystem ();
+#use FileHandle;
+# use Shell qw (ls cat);
+#use File::Temp 0.12 qw(tempdir);
+#use File::Basename;
+
+use esmith::cgi;
+use esmith::config;
+use esmith::util;
+use esmith::DB;
+use esmith::DB::db;
+
+
+
+sub showInitial ($$);
+sub modifyConfig ($$);
+sub GeneralMenu ($);
+sub aide($);
+sub USBModifyConfig;
+sub validUSBModifyConfig;
+sub USBAddDisk;
+sub validUSBAddDisk;
+sub USBModifyDisk;
+sub validUSBModifyDisk;
+sub USBMountDisk;
+sub USBUnMountDisk;
+sub USBMounttoDisk;
+sub USBUnMounttoDisk;
+sub disable_entry;
+sub enable_entry;
+sub disable_mediaentry;
+sub enable_mediaentry;
+sub delete_entry;
+sub UUIDgenerate;
+
+
+
+
+BEGIN
+{
+ # Clear PATH and related environment variables so that calls to
+ # external programs do not cause results to be tainted. See
+ # "perlsec" manual page for details.
+
+ $ENV {'PATH'} = '/bin:/usr/bin:/sbin/';
+ $ENV {'SHELL'} = '/bin/bash';
+ delete $ENV {'ENV'};
+}
+
+esmith::util::setRealToEffective ();
+
+$CGI::POST_MAX=1024 * 100; # max 100K posts
+$CGI::DISABLE_UPLOADS = 1; # no uploads
+
+my %conf;
+tie %conf, 'esmith::config';
+#db_set(\%conf, "usbdisks", "service|frequence|3");
+
+my %usbdisks;
+if (-e "/home/e-smith/db/confusbdisks" )
+ {
+ tie %usbdisks, 'esmith::config', '/home/e-smith/db/confusbdisks';
+ }
+else
+ {
+ `echo "">/home/e-smith/db/confusbdisks`;
+ tie %usbdisks, 'esmith::config', '/home/e-smith/db/confusbdisks';
+ }
+
+
+my $usbd_frequence = db_get_prop(\%conf, "usbdisks","frequence") || "2";
+my $usbd_status = db_get_prop(\%conf, "usbdisks","status") || "disabled";
+my $usbd_status_mediaG = db_get_prop(\%conf, "usbdisks","status_mediaG") || "disabled";
+my $usbd_status_mediaU = db_get_prop(\%conf, "usbdisks","status_mediaU") || "disabled";
+
+#------------------------------------------------------------
+# traduction
+#------------------------------------------------------------
+my $sec = 5;
+
+my $tr_menu_config = $fm->localise('tr_menu_config');
+my $tr_menu_accueil = $fm->localise('tr_menu_accueil');
+my $tr_disks_online = $fm->localise('tr_disks_online');
+my $tr_known_mounts = $fm->localise('tr_known_mounts');
+my $tr_description = $fm->localise('tr_description');
+my $tr_aide = $fm->localise('tr_aide');
+my $tr_no = $fm->localise('tr_no');
+my $tr_yes = $fm->localise('tr_yes');
+
+my $tr_dev = $fm->localise('tr_dev');
+my $tr_uuid = $fm->localise('tr_uuid');
+my $tr_mount = $fm->localise('tr_mount');
+my $tr_fstab = $fm->localise('tr_fstab');
+my $tr_label = $fm->localise('tr_label');
+my $tr_fs_type = $fm->localise('tr_fs_type');
+my $tr_device_type = $fm->localise('tr_device_type');
+my $tr_action = $fm->localise('tr_action');
+my $tr_mount_to = $fm->localise('tr_mount_to');
+my $tr_mounted_to = $fm->localise('tr_mounted_to');
+my $tr_connected = $fm->localise('tr_connected');
+my $tr_status = $fm->localise('tr_status');
+my $tr_success = $fm->localise('tr_success');
+my $tr_failure = $fm->localise('tr_failure');
+my $tr_unknown = $fm->localise('tr_unknown');
+my $tr_add = $fm->localise('tr_add');
+my $tr_modify = $fm->localise('tr_modify');
+my $tr_remove = $fm->localise('tr_remove');
+my $tr_refresh = $fm->localise('tr_refresh');
+my $tr_removed = $fm->localise('tr_removed');
+my $tr_added = $fm->localise('tr_added');
+my $tr_save_label = $fm->localise('tr_save_label');
+my $tr_save_button = $fm->localise('tr_save_button');
+my $tr_rapport = $fm->localise('tr_rapport');
+my $tr_with = $fm->localise('tr_with');
+my $tr_disabled = $fm->localise('tr_disabled');
+my $tr_enabled = $fm->localise('tr_enabled');
+
+my $tr_pageaide = $fm->localise('tr_pageaide');
+my $tr_titre_ajout = $fm->localise('tr_title_ajout');
+my $tr_titre_modifier= $fm->localise('tr_titre_modifier');
+my $tr_titre_accueil = $fm->localise('tr_titre_accueil');
+
+my $tr_titre_config = $fm->localise('tr_titre_config');
+my $tr_frequence = $fm->localise('tr_frequence');
+my $tr_incorect = $fm->localise('tr_incorect');
+my $tr_forbidden_directory = $fm->localise('tr_forbidden_directory');
+my $tr_directory_does_not_exist= $fm->localise('tr_directory_does_not_exist');
+my $tr_uuidgenerate= $fm->localise('tr_uuidgenerate');
+
+#ajout verion 0.2-0.1
+my $tr_options_mount_to = $fm->localise('tr_options_mount_to');
+my $tr_status_media = $fm->localise('tr_status_media');
+my $tr_status_mediaG = $fm->localise('tr_status_mediaG');
+my $tr_status_mediaU = $fm->localise('tr_status_mediaU');
+my $tr_status_mountmedia = $fm->localise('tr_status_mountmedia');
+my $tr_status_mountto = $fm->localise('tr_status_mountto');
+
+#------------------------------------------------------------
+# examine state parameter and display the appropriate form
+#------------------------------------------------------------
+
+my $q = new CGI;
+
+if (! grep (/^state$/, $q->param))
+{
+ showInitial ($q,'');
+}
+elsif ($q->param ('state') eq "USBModifyConfig")
+{
+ USBModifyConfig ($q);
+}
+elsif ($q->param ('state') eq "validUSBModifyConfig")
+{
+ validUSBModifyConfig ($q);
+}
+elsif ($q->param ('state') eq "USBAddDisk")
+{
+ USBAddDisk ($q);
+}
+elsif ($q->param ('state') eq "validUSBAddDisk")
+{
+ validUSBAddDisk ($q);
+}
+elsif ($q->param ('state') eq "USBModifyDisk")
+{
+ USBModifyDisk ($q);
+}
+elsif ($q->param ('state') eq "validUSBModifyDisk")
+{
+ validUSBModifyDisk ($q);
+}
+elsif ($q->param ('state') eq "USBMountDisk")
+{
+ USBMountDisk ($q);
+}
+elsif ($q->param ('state') eq "USBUnMountDisk")
+{
+ USBUnMountDisk ($q);
+}
+elsif ($q->param ('state') eq "USBMounttoDisk")
+{
+ USBMounttoDisk ($q);
+}
+elsif ($q->param ('state') eq "USBUnMounttoDisk")
+{
+ USBUnMounttoDisk ($q);
+}
+elsif ($q->param ('state') eq "disable_entry")
+{
+ disable_entry ($q);
+}
+elsif ($q->param ('state') eq "enable_entry")
+{
+ enable_entry ($q);
+}
+elsif ($q->param ('state') eq "disable_mediaentry")
+{
+ disable_mediaentry ($q);
+}
+elsif ($q->param ('state') eq "enable_mediaentry")
+{
+ enable_mediaentry ($q);
+}
+elsif ($q->param ('state') eq "delete_entry")
+{
+ delete_entry ($q);
+}
+elsif ($q->param ('state') eq "UUIDgenerate")
+{
+ UUIDgenerate ($q);
+}
+elsif ($q->param ('state') eq "aide")
+{
+ aide ($q);
+}
+else
+{
+ esmith::cgi::genStateError ($q, \%conf);
+}
+
+exit (0);
+
+#------------------------------------------------------------
+# subroutine to display initial form
+#------------------------------------------------------------
+
+sub showInitial ($$)
+{
+
+ my ($q, $msg) = @_;
+ #------------------------------------------------------------
+ # db init
+ #------------------------------------------------------------
+ if (not defined db_get(\%conf, "usbdisks")) {
+ my %default_db=(
+ 'status' => 'disabled',
+ 'Debug' => 'no',
+ );
+ db_set(\%conf, "usbdisks","service",\%default_db);
+ }
+
+ #------------------------------------------------------------
+ # If there's a message, we just finished an operation so show the
+ # status report. If no message, this is a new list of domains.
+ #------------------------------------------------------------
+
+ if ($msg eq '') {
+ esmith::cgi::genHeaderNonCacheable
+ ($q, \%conf, 'USB Disks ');
+ } else {
+ esmith::cgi::genHeaderNonCacheable
+ ($q, \%conf, 'Operation status report');
+
+ print $q->p ($msg);
+ print $q->hr;
+ }
+
+ print $q->hr;
+ GeneralMenu ($q);
+ print $tr_description;
+ print $q->hr;
+ my %disques= subdevices();
+ print "
".$tr_disks_online."
";
+ print "\n";
+ print "$tr_dev | $tr_mount | $tr_fstab | $tr_uuid | $tr_label | $tr_fs_type | $tr_device_type | $tr_action |
\n";
+ my $clef;
+ my $disque;
+
+ for $clef ( sort keys %disques )
+ {
+ print "\n";
+ print "$disques{$clef}{dev} | ";
+ print "";
+ if ($disques{$clef}{mounted} eq "no") {print $tr_no;}
+ else {print $disques{$clef}{mounted}; }
+ print " | ";
+ print "";
+ if ($disques{$clef}{fstab} eq "yes") {print $tr_yes;}
+ elsif ($disques{$clef}{fstab} eq "no") {print $tr_no;}
+ else {print $disques{$clef}{fstab};}
+ print " | ";
+ print "$disques{$clef}{UUID} | ";
+ print "$disques{$clef}{LABEL} | ";
+ print "$disques{$clef}{FSTYPE} | ";
+ print "$disques{$clef}{DEVTYPE} | ";
+ if ( ( "$disques{$clef}{DEVTYPE}" eq "USB" ) ||("$disques{$clef}{DEVTYPE}" eq "FireWire" ) )
+ {
+ my %disque = %{$disques{$clef}};
+ my $options= OptionMenu(\%disque) || "";
+ print "$options | ";
+ }
+ else
+ {
+ print " | ";
+ }
+
+ print "
\n";
+ }
+ print "
\n";
+
+ print $q->hr;
+
+ my $OUT= knowndevices();
+ print $OUT;
+
+ esmith::cgi::genFooter ($q);
+}
+
+
+##
+#
+# sub fstab
+#
+##
+sub showfstab ($)
+{
+ my @sensorOutput = `cat /etc/fstab`;
+
+ my ($q) = @_;
+
+ # esmith::cgi ($q, \%conf, 'Sensor Information');
+
+ print $q->hr;
+ print $q->p ($q->pre ("@sensorOutput"));
+# esmith::cgi::genFooter ($q);
+}
+
+##
+#
+# sub liste des devices
+# return hashe with data to create the html table
+##
+sub subdevices ($)
+{
+ #my %mounted=`mount`;
+ my $mounted=`mount`;
+ my @fstab= `cat /etc/fstab`;
+ my @blkid= `/sbin/blkid -c /dev/null `;
+ my @swap= `cat /proc/swaps|grep '/' |cut -f1`;
+ my @lvscan = `/sbin/lvscan`;
+ my %disques;
+ my $i = 0;
+ #my %hashes = (clef =>"valeur", clef2 => "valeur2", [%tablo], %table);
+ #verif usb
+ #for SME8: udevinfo -a -p /sys/block/sda
+ #for SME9: udevadm info -a -p /sys/block/sda
+ for (@blkid)
+ {
+ # chemin dev
+ #$disques{$i}{dev}= $_ =~ /^(\/dev\/[a-z\-]{2,3}[0-9]{1}):/ ? $1 : "$tr_unknown";
+ $disques{$i}{dev}= $_ =~ /^(\/dev\/[a-z0-9\-_\/]{2,}):/ ? $1 : "$tr_unknown";
+ my $oridevice = $disques{$i}{dev};
+ # for lvm /dev/mapper/main-root; change to /dev/main/root
+ $disques{$i}{dev}= $disques{$i}{dev} =~ /^\/dev\/mapper\/([a-z0-9_]{2,})-([a-z0-9_]{2,})$/ ? "/dev/$1/$2" : $disques{$i}{dev};
+ my $device = $disques{$i}{dev};
+ my $good = "";
+ $good = `/bin/readlink -f $device` if $device ne $oridevice;
+ # nom disque sda (not partition but hard drive)
+ $disques{$i}{name}= $_ =~ /^\/dev\/([a-z\-]{2,})[0-9]*:/ ? $1 : "$tr_unknown";
+ #$disques{$i}{name}= $_ =~ /^\/dev\/([a-z0-9\-_\/]{2,}):/ ? $1 : "$tr_unknown";
+ # UUID
+ $disques{$i}{UUID}= $_ =~ /UUID="([0-9a-zA-Z\-]*)"/ ? $1 : "$tr_unknown";
+ # label for partition
+ $disques{$i}{LABEL}= $_ =~ /LABEL="([a-zA-Z0-9_\-]*)"/ ? $1 : "$tr_unknown";
+ # mouted or not
+ $disques{$i}{mounted}= $mounted =~ /$device on ([\/\-a-zA-Z0-9_]+) / ? $1 : "no" ;
+ $disques{$i}{mounted}= $mounted =~ /$oridevice on ([\/\-a-zA-Z0-9_]+) / ? $1 : "no" if $oridevice ne $device;
+ # the one under does not work with regex , do not know why : map (/$good/ , @swap) ,maybe the / in the device path
+ $disques{$i}{mounted}= grep($good , @swap) ? 'swap' : "no" if $device =~ /swap/;
+ # is it in fstab
+ $disques{$i}{fstab}= map ( /$device/, @fstab)? "yes" : "no";
+ my $UUID= $disques{$i}{UUID};
+ my $label= $disques{$i}{LABEL};
+ if ( ($disques{$i}{fstab} eq "no") && (! $UUID eq "") )
+ {$disques{$i}{fstab}= map ( /$UUID/, @fstab)? "yes" : "no";}
+ if ( ($disques{$i}{fstab} eq "no") && (! $label eq "") )
+ {$disques{$i}{fstab}= map ( /$label/, @fstab)? "yes" : "no";}
+ # file system type ext2 ext3 swap vfat ...
+ if ( $_ =~ / SEC_TYPE="([a-zA-Z0-9_\-]*)"/ )
+ {$disques{$i}{FSTYPE}= $_ =~ / SEC_TYPE="([a-zA-Z0-9_\-]*)"/ ? $1 : "$tr_unknown";}
+ else
+ {$disques{$i}{FSTYPE}= $_ =~ / TYPE="([a-zA-Z0-9_\-]*)"/ ? $1 : "$tr_unknown";}
+ # device type : usb ide sata/scsi
+ $disques{$i}{DEVTYPE}= "$tr_unknown";
+ my $name = $disques{$i}{name};
+ # for SME8: my $udevinfo = `/usr/bin/udevinfo -a -p /sys/block/$name` ;
+ # for SME9: my $udevinfo = `/sbin/udevadm info -a -p /sys/block/$name` ;
+ # small change in udevinfo between rhel 4 and 5
+ $disques{$i}{DEVTYPE}= "";
+ #LVM
+ $disques{$i}{DEVTYPE}= map ( /$device/, @lvscan)? "LVM" : "";
+ #RAID
+ my $infobis=`cat /proc/mdstat |grep -o md[0-9]*`;
+ $disques{$i}{DEVTYPE}= "RAID" if ($infobis =~ /$name/);
+ # real device
+ if ( $disques{$i}{DEVTYPE} eq "" ) {
+
+ my $udevinfo = `/sbin/udevadm info -p /sys/block/$name -q env |grep "ID_BUS="|sed -e 's/^ID_//g'` ;
+ if ($udevinfo =~ /BUS=ide/)
+ {
+ $disques{$i}{DEVTYPE}= "IDE";
+ }
+ elsif ($udevinfo =~ /BUS=usb/)
+ {
+ $disques{$i}{DEVTYPE}= "USB";
+ }
+ elsif ($udevinfo =~ /\/fw-host[0-9]+\//)
+ {
+ $disques{$i}{DEVTYPE}= "FireWire";
+ }
+ elsif ($udevinfo =~ /BUS=scsi/)
+ {
+ $disques{$i}{DEVTYPE}= "SCSI_SATA";
+ }
+ elsif ($udevinfo =~ /couldn\'t get the class device/)
+ {
+ $disques{$i}{DEVTYPE}= "$tr_unknown";
+ }
+ else
+ {
+ my $infobis=`cat /proc/mdstat |grep -o md[0-9]*`;
+ if ($infobis =~ /$name/)
+ {
+ $disques{$i}{DEVTYPE}= "RAID";
+ }
+ else
+ {
+ $disques{$i}{DEVTYPE}= $udevinfo;
+ }
+ }
+ }
+ $i++;
+ }
+ return %disques;
+}
+
+##
+#
+# sub liste des devices
+# return hashe with data to create the html table
+##
+sub OptionMenu ($)
+{
+ my(%disque) = %{$_[0]};
+ my $option;
+
+ #if ($disque{UUID} eq $tr_unknown )
+# {
+# $option .= " $tr_uuidgenerate ";
+# }
+# else
+# {
+ if ( !db_get_type(\%usbdisks, $disque{UUID}) )
+ {
+ $option .= " $tr_add ";
+ }
+ if ($disque{fstab} eq "yes")
+ {
+ if ($disque{mounted} eq "no")
+ {$option .=" Mount " }
+ else
+ {$option .=" Umount " }
+ }
+# }
+ return $option ;
+}
+
+##
+#
+# sub liste des devices
+# return hashe with data to create the html table
+##
+sub GeneralMenu ($)
+{
+ my ($q) = @_;
+ print $q->table ({border => 1, cellspacing => 1, cellpadding => 4});
+ print $q->Tr (
+ esmith::cgi::genSmallCell ($q, "$tr_menu_accueil"),
+ esmith::cgi::genSmallCell ($q, "$tr_menu_config"),
+ esmith::cgi::genSmallCell ($q, "[$tr_aide]")
+ );
+
+ print '
';
+
+ return ;
+}
+
+##
+#
+# sub liste des devices
+# return hashe with data to create the html table
+##
+sub USBModifyConfig ($$)
+{
+ my ($q, $msg) = @_;
+
+ esmith::cgi::genHeaderNonCacheable ($q, \%conf, 'USBDisks : '.$tr_titre_config.'
');
+ GeneralMenu ($q);
+
+ print $q->startform (-method => 'POST',
+ -action => $q->url (-absolute => 1));
+ print $q->table ({border => 1, cellspacing => 1, cellpadding => 4});
+ print $q->Tr (esmith::cgi::genSmallCell ($q, "$tr_frequence :"),
+ esmith::cgi::genSmallCell ($q, ""));
+ print $q->Tr (esmith::cgi::genSmallCell ($q, "$tr_status :"),
+ esmith::cgi::genSmallCell ($q, "