You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
431 B
16 lines
431 B
10 months ago
|
#!/bin/bash
|
||
|
# Author: Athmane Madjoudj <athmanem@gmail.com>
|
||
|
# Rene Diepstraten <rene@renediepstraten.nl>
|
||
|
|
||
|
if [ "$CONTAINERTEST" -eq "1" ]; then
|
||
|
t_Log "Running in container -> SKIP"
|
||
|
exit 0
|
||
|
fi
|
||
|
|
||
|
[ ${centos_ver} -lt 7 ] && exit
|
||
|
t_Log "Running $0 - Checking if systemctl can check if a non-native service is enabled"
|
||
|
|
||
|
systemctl is-enabled kdump.service 2> /dev/null | grep -q -E 'enabled|disabled'
|
||
|
|
||
|
t_CheckExitStatus $?
|