IS_SYSLOGCONF: better detection
This commit is contained in:
parent
5536e8f6ec
commit
c4c8dd2112
|
@ -7,6 +7,8 @@ and this project **does not adhere to [Semantic Versioning](http://semver.org/sp
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
|
* IS_SYSLOGCONF: better detection
|
||||||
|
|
||||||
### Deprecated
|
### Deprecated
|
||||||
|
|
||||||
### Removed
|
### Removed
|
||||||
|
|
|
@ -193,7 +193,7 @@ check_logrotateconf() {
|
||||||
test -e /etc/logrotate.d/zsyslog || failed "IS_LOGROTATECONF" "missing zsyslog in logrotate.d"
|
test -e /etc/logrotate.d/zsyslog || failed "IS_LOGROTATECONF" "missing zsyslog in logrotate.d"
|
||||||
}
|
}
|
||||||
check_syslogconf() {
|
check_syslogconf() {
|
||||||
grep -q "^# Syslog for Pack Evolix serveur" /etc/*syslog.conf \
|
grep --quiet --ignore-case "^Syslog for Pack Evolix" /etc/*syslog*/*.conf \
|
||||||
|| failed "IS_SYSLOGCONF" "syslog evolix config file missing"
|
|| failed "IS_SYSLOGCONF" "syslog evolix config file missing"
|
||||||
}
|
}
|
||||||
check_debiansecurity() {
|
check_debiansecurity() {
|
||||||
|
|
Loading…
Reference in a new issue