Line 25: |
Line 25: |
| Where you change the "Recycle Bin" for something else. Eg. In Brazil would be "Lixeira"<br> | | Where you change the "Recycle Bin" for something else. Eg. In Brazil would be "Lixeira"<br> |
| The SME way to do this is to create a custom template. Try to avoid change those files directly! <br> | | The SME way to do this is to create a custom template. Try to avoid change those files directly! <br> |
| + | |
| + | To change the custom-template do this: |
| + | |
| + | * Create the proper folder structure: |
| + | |
| + | mkdir -p /etc/e-smith/templates-custom/etc/smb.conf/ibays |
| + | |
| + | * Copy the template fragment to the template-custom tree |
| + | |
| + | cp /etc/e-smith/templates/etc/smb.conf/ibays/10recyclebin /etc/e-smith/templates-custom/etc/smb.conf/ibays |
| + | |
| + | * Use any editor to make your changes in the copied file |
| + | |
| + | vi /etc/e-smith/templates-custom/etc/smb.conf/ibays/10recyclebin |
| + | Modifying this line: <br> |
| + | $vfs->{recycle}->{repository} = "Recycle Bin";<br> |
| + | to |
| + | $vfs->{recycle}->{repository} = "Lixeira";<br> |
| + | (or whatever name you like) and save your changes after finish making modifications (use ESC :wq on vi editor) |
| + | |
| + | * Now let the server take the necessarry actions to have the changes reflected for the ibays |
| + | signal-event ibay-modify <ibayname> |
| + | where <ibayname> is the ibay you´re changing to have a RecycleBin name different.<br> |
| + | |
| + | |
| <br> | | <br> |
− | TIP: If your name has a DOT as first character, so it will be invisible! Eg: ".Lixeira"<br> | + | TIP: <br> |
− | | + | 1) If your name has a DOT as first character, so it will be invisible! Eg: ".Lixeira"<br> |
| + | You could try by doing modification directly on /etc/e-smith/templates/etc/smb.conf/10recyclebin and if it works, change the template-custom. |
| + | <br><br> |
| + | 2) I prefer this way because if I mess with something, I can just rebuild template using the signal-event stated above. |
| | | |
| ---- | | ---- |
| [[Category: Howto]] | | [[Category: Howto]] |