diff --git a/openbsd/CHANGELOG b/openbsd/CHANGELOG index cc9ede2..eca88e2 100644 --- a/openbsd/CHANGELOG +++ b/openbsd/CHANGELOG @@ -10,7 +10,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added * Log output and runtime config to /var/log/evocheck.log. -* check_mountfstab and check_mount : make sure all mounted partitions are in fstab and all partitions in fstab are mounted +* check_mountfstab and check_mount: make sure all mounted partitions are in fstab and all partitions in fstab are mounted + +### Changed + +* check_evobackup: zzz_evobackup is now executed with bash ## [23.02] - 2023-02-10 diff --git a/openbsd/evocheck.sh b/openbsd/evocheck.sh index d13bde9..c4dfa92 100755 --- a/openbsd/evocheck.sh +++ b/openbsd/evocheck.sh @@ -118,9 +118,9 @@ check_raidok(){ } check_evobackup(){ if [ -f /etc/daily.local ]; then - grep -qE "^sh /usr/share/scripts/zzz_evobackup" /etc/daily.local || failed "IS_EVOBACKUP" "Make sure 'sh /usr/share/scripts/zzz_evobackup' is present and activated in /etc/daily.local" + grep -qE "^(ba)?sh /usr/share/scripts/zzz_evobackup" /etc/daily.local || failed "IS_EVOBACKUP" "Make sure 'bash or sh /usr/share/scripts/zzz_evobackup' is present and activated in /etc/daily.local" else - failed "IS_EVOBACKUP" "Make sure /etc/daily.local exists and 'sh /usr/share/scripts/zzz_evobackup' is present and activated in /etc/daily.local" + failed "IS_EVOBACKUP" "Make sure /etc/daily.local exists and 'bash or sh /usr/share/scripts/zzz_evobackup' is present and activated in /etc/daily.local" fi } check_uptodate(){