Compare commits
2 Commits
7fc4e0c7d7
...
119118ad06
Author | SHA1 | Date |
---|---|---|
Jérémy Dubois | 119118ad06 | |
Jérémy Dubois | b3496692b2 |
|
@ -18,6 +18,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
|
|
||||||
- Fix the check_mem command in the NRPE role, precising the percentage sign for it not to check the memory in MB.
|
- Fix the check_mem command in the NRPE role, precising the percentage sign for it not to check the memory in MB.
|
||||||
- Fix the check_mem script in the NRPE role, adding cached RAM as free RAM
|
- Fix the check_mem script in the NRPE role, adding cached RAM as free RAM
|
||||||
|
- Fix motd-carp-state.sh by updating the OpenBSD release in our customized motd after an upgrade
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
|
|
|
@ -5,6 +5,8 @@ if [ ! -f /etc/motd-original ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -f /tmp/carp.state ]; then
|
if [ ! -f /tmp/carp.state ]; then
|
||||||
|
# Raplace OpenBSD version in motd after each boot for it to be up to date after an upgrade
|
||||||
|
sed -i "1 s/^.*$/$(head -1 \/var\/run\/dmesg.boot)/" /etc/motd-original
|
||||||
echo "unknown" > /tmp/carp.state
|
echo "unknown" > /tmp/carp.state
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue