mirror of https://github.com/Icinga/icinga2.git
Make icinga2-{enable,disable}-feature list currently enabled features.
Fixes #5319
This commit is contained in:
parent
98733fc105
commit
947b6f3207
|
@ -24,6 +24,13 @@ if [ -z "$1" ]; then
|
|||
echo -n "$(basename -- $file .conf) "
|
||||
done
|
||||
|
||||
echo
|
||||
echo -n "Enabled features: "
|
||||
|
||||
for file in $ICINGA2CONFDIR/features-enabled/*.conf; do
|
||||
echo -n "$(basename -- $file .conf) "
|
||||
done
|
||||
|
||||
echo
|
||||
|
||||
exit 1
|
||||
|
|
Loading…
Reference in New Issue