-
-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Creating default attribute for ZMMAILBOX
- Loading branch information
1 parent
b75fe5e
commit 9cc24e1
Showing
2 changed files
with
6 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -172,6 +172,11 @@ function validate_config(){ | |
logger -i -p local7.warn "Zmbackup: EMAIL_NOTIFY not informed - setting as [email protected] instead." | ||
fi | ||
|
||
if [ -z "$ZMMAILBOX" ]; then | ||
ZMMAILBOX=$(whereis zmmailbox | cut -d" " -f2) | ||
logger -i -p local7.warn "Zmbackup: ZMMAILBOX not defined informed - setting as $ZMMAILBOX instead" | ||
fi | ||
|
||
if [ -z "$MAX_PARALLEL_PROCESS" ]; then | ||
MAX_PARALLEL_PROCESS="1" | ||
logger -i -p local7.warn "Zmbackup: MAX_PARALLEL_PROCESS not informed - disabling." | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters