Compare commits
2 commits
ae797122ad
...
4008fb3128
Author | SHA1 | Date | |
---|---|---|---|
Jérémy Dubois | 4008fb3128 | ||
Jérémy Dubois | 0dae32a135 |
|
@ -12,6 +12,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
* 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
|
||||
|
||||
### Fixed
|
||||
|
||||
* check_carpadvbase and check_carppreempt: fixed indentation
|
||||
* check_mount: removed useless echo
|
||||
|
||||
### Changed
|
||||
|
||||
* check_evobackup: zzz_evobackup is now executed with bash
|
||||
|
|
|
@ -528,7 +528,7 @@ check_root_user() {
|
|||
}
|
||||
check_mount(){
|
||||
for fstab_entry in $(grep ffs /etc/fstab | grep -v "^#" | awk '{print $2}'); do
|
||||
echo "$(mount | awk '{print $3}')" | grep -q "^$fstab_entry$" || failed "IS_MOUNT" "Local OpenBSD partition(s) detected in /etc/fstab but not mounted"
|
||||
mount | awk '{print $3}' | grep -q "^$fstab_entry$" || failed "IS_MOUNT" "Local OpenBSD partition(s) detected in /etc/fstab but not mounted"
|
||||
done
|
||||
}
|
||||
check_mountfstab() {
|
||||
|
|
Loading…
Reference in a new issue