forked from evolix/evocheck
Update evobackup installation check for OpenBSD
This commit is contained in:
parent
823a4f9ee0
commit
37f3c1faee
|
@ -165,7 +165,15 @@ fi
|
|||
# TODO
|
||||
#fi
|
||||
|
||||
# Check Evoackup installation
|
||||
if [ "$IS_EVOBACKUP" = 1 ]; then
|
||||
if [ -f /etc/daily.local ]; then
|
||||
grep -qE "^sh /usr/share/scripts/zzz_evobackup" /etc/daily.local || echo 'IS_EVOBACKUP FAILED!'
|
||||
else
|
||||
echo 'IS_EVOBACKUP FAILED!'
|
||||
if [[ "$VERBOSE" == 1 ]]; then
|
||||
echo "Make sure /etc/daily.local exist and 'sh /usr/share/scripts/zzz_evobackup' is present and activated in /etc/daily.local"
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue