diff options
| author | AbdelKarim Mateos <abkrim@users.noreply.github.com> | 2019-09-24 08:46:28 +0200 |
|---|---|---|
| committer | Laurent Cozic <laurent22@users.noreply.github.com> | 2019-09-24 07:46:28 +0100 |
| commit | a9eb0efbadc174a2b511f165029015dc797ad7b6 (patch) | |
| tree | f50b7b9cd2b6c1d9bd26fcaf09ed4fed39928cf3 /.github | |
| parent | e2b4148855c0a5a6e23e0c9bd178932e6a758428 (diff) | |
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.
Diffstat (limited to '.github')
0 files changed, 0 insertions, 0 deletions
