]> arthur.barton.de Git - backup-script.git/blob - examples/backup-script.post-exec
README.md: Fix some "markdownlint" warnings
[backup-script.git] / examples / backup-script.post-exec
1 #!/bin/sh
2
3 MOUNTPOINT="/backup"
4
5 echo -n "mounting $MOUNTPOINT read-only ... "
6 mount -o remount,ro $MOUNTPOINT 2>/dev/null
7 [ $? -eq 0 ] && echo "ok." || echo "failed!"
8
9 exit 0
10
11 # -eof-