Fácil:
-
Remova as seguintes linhas do fstab:
# #Bind mounts for AeroFS to sync outside it's folder: # /home/user/Desktop /home/user/AeroFS/Desktop none bind 0 0 /home/user/Documents /home/user/AeroFS/Documents none bind 0 0 /home/user/Music /home/user/AeroFS/Music none bind 0 0 /home/user/Pictures /home/user/AeroFS/Pictures none bind 0 0 #
-
crie o seguinte script de shell:
#!/bin/bash # # This script binds AeroFS mounts to sync outside their folder, # as an answer to https://askubuntu.com/questions/604361/delay-mounts-after-encrypted-home-folder-is-ready # # Copyright (c) 2014 Fabby # 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 3 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 AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. See the GNU General Public License for more details. # You DID NOT receive a copy of the GNU General Public License along with this program as the license is bigger then this program. mount --bind /home/user/Desktop /home/user/AeroFS/Desktop mount --bind /home/user/Documents /home/user/AeroFS/Documents mount --bind /home/user/Music /home/user/AeroFS/Music mount --bind /home/user/Pictures /home/user/AeroFS/Pictures
-
Salve-o em
/home/user/bin/MountAeroFS.sh
(crie o diretóriobin
, se ele não existir). -
Abra os aplicativos de inicialização e adicione o seguinte Comando:
MountAeroFS.sh
. Como Nome: e Comentário: você pode adicionar qualquer coisa para lembrá-lo do que se trata. - Reinicialize (como você acabou de alterar seu
fstab
)