-if [ $(pidof -x $(basename $0) | wc -w) -gt 2 ]; then
- scottyerror Another instance of $(basename $0) is already running!
- exit 1
-fi
-
-while getopts "qn:" opt; do
- case $opt in
- q)
- exec > /dev/null
- ;;
- n)
- BACKUP_RUNEVERYNTHDAY=$OPTARG
- ;;
- esac
-done
-