diff --git a/dots/bin/syncDirSetup.sh b/dots/bin/syncDirSetup.sh index a6c8cf7..f78d879 100755 --- a/dots/bin/syncDirSetup.sh +++ b/dots/bin/syncDirSetup.sh @@ -66,9 +66,9 @@ if [ -f "${the_file}" ]; then #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} + sudo echo "" >> ${the_file} + sudo echo "# auto mount syncDir" >> ${the_file} + sudo echo "${src_dir} ${trg_dir} auto defaults,nofail,nobootwait,bind 0 2" >> ${the_file} echo "auto mount of syncDir added to '${the_file}'" else