Changes

Jump to navigation Jump to search
201 bytes added ,  21:57, 25 March 2018
Line 130: Line 130:  
</pre>
 
</pre>
   −
=== Changing the Recycle Bin name ===
+
=== Changer le nom de la corbeille ===
   −
You can change the name of the recycle bin by making a copy of the template fragment into the templates-custom tree and making your modifications there.
+
Vous pouvez changer le nom de la corbeille en créant une copie du fragment de modèle dans l’arborescence des modèles personnalisés et en y réalisant vos modifications.
<ol><li>Create the proper folder structure:
+
<ol></li><li>Créer la structure du dossier nécessaire :
    
  mkdir -p /etc/e-smith/templates-custom/etc/smb.conf/ibays
 
  mkdir -p /etc/e-smith/templates-custom/etc/smb.conf/ibays
   −
</li><li>Copy the template fragment to the template-custom tree
+
</li><li>Copier le fragment de modèle dans l'arborescence des modèles personnalisés :
    
  cp /etc/e-smith/templates/etc/smb.conf/ibays/10recyclebin /etc/e-smith/templates-custom/etc/smb.conf/ibays
 
  cp /etc/e-smith/templates/etc/smb.conf/ibays/10recyclebin /etc/e-smith/templates-custom/etc/smb.conf/ibays
   −
</li><li>Use any editor to make your changes in the copied file
+
</li><li>Utiliser n'importe quel éditeur pour réaliser vos modifications dans le fichier copié :
 
  nano /etc/e-smith/templates-custom/etc/smb.conf/ibays/10recyclebin
 
  nano /etc/e-smith/templates-custom/etc/smb.conf/ibays/10recyclebin
Modifying this line:
+
Modifier cette ligne :
    
  $vfs->{recycle}->{repository} = "Recycle Bin";
 
  $vfs->{recycle}->{repository} = "Recycle Bin";
   −
to whatever you like for a name:
+
en ce que vous souhaitez comme nom :
   −
  $vfs->{recycle}->{repository} = "Add your name here";
+
  $vfs->{recycle}->{repository} = "Ajouter votre nom ici";
{{Tip box|You can make the recycle bin hidden by adding a dot as a first character of the recycle bin name}}
+
{{Tip box|type=Astuce :|vous pouvez masquer la corbeille en ajouter un point comme premier caractère du nom de la corbeille.}}
   −
</li><li>Now let the server take the necessary actions to have the changes reflected for all ibays (replace <nowiki><ibayname></nowiki> with the ibayname):
+
</li><li>Maintenant, laisser le serveur réaliser les actions nécessaires aux changements sur toutes les baies d'informations (remplacer <nowiki><ibayname></nowiki> par le nom de la baie d'information dans la commande suivante) :
 
  signal-event ibay-modify <ibayname>
 
  signal-event ibay-modify <ibayname>
 
</li></ol>
 
</li></ol>
3,054

edits

Navigation menu