This commit is contained in:
tuxwarrior
2024-05-06 17:25:01 -05:00
parent 3dfad56c61
commit 5456383839

View File

@@ -62,6 +62,7 @@ the_file=/etc/fstab
if [ -f "${the_file}" ]; then
if ! more ${the_file} | grep 'syncDir'
then
echo
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}