From 3bdb35b2dbee2a59f8c56e3af3b2834038519359 Mon Sep 17 00:00:00 2001 From: tuxwarrior Date: Mon, 6 May 2024 17:16:39 -0500 Subject: [PATCH] u --- dots/bin/syncDirSetup.sh | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/dots/bin/syncDirSetup.sh b/dots/bin/syncDirSetup.sh index 76fa3aa..a6c8cf7 100755 --- a/dots/bin/syncDirSetup.sh +++ b/dots/bin/syncDirSetup.sh @@ -62,9 +62,13 @@ the_file=/etc/fstab if [ -f "${the_file}" ]; then if ! more ${the_file} | grep 'syncDir' then - echo "" | sudo tee -a ${the_file} - echo "# auto mount syncDir" | sudo tee -a ${the_file} - echo "${src_dir} ${trg_dir} auto defaults,nofail,nobootwait,bind 0 2" | sudo tee -a ${the_file} + #echo "" | sudo tee -a ${the_file} + #echo "# auto mount syncDir" | sudo tee -a ${the_file} + #echo "${src_dir} ${trg_dir} auto defaults,nofail,nobootwait,bind 0 2" | sudo tee -a ${the_file} + + echo "" >> ${the_file} + echo "# auto mount syncDir" >> ${the_file} + echo "${src_dir} ${trg_dir} auto defaults,nofail,nobootwait,bind 0 2" >> ${the_file} echo "auto mount of syncDir added to '${the_file}'" else