Commit Graph
1 Commits
Author SHA1 Message Date
AbdelKarim MateosandLaurent Cozic a9eb0efbad Doc: Update mount example to work on more systems (#147)
`0 */1 * * * if [[ -d /mnt/backup ]]; then rsync_tmbackup.sh /home /mnt/backup; fi` this is not valid for all sistems. Is not POSIX compilant. IMHO best soltuion is `if grep -qs /mnt/backup /proc/mounts; then rsync_tmbackup.sh /home /mnt/backup; fi`

Best regards and thanks for your script.
2019-09-24 07:46:28 +01:00