toolkit/func/core/pkg_systemd/10-systemd-list-non-native-sevices.sh

6 lines
199 B
Bash
Raw Permalink Normal View History

2021-07-05 06:50:25 +00:00
#!/bin/bash
r_log "systemd" "Checking if systemctl can see enabled status for non-native services"
systemctl is-enabled kdump.service 2> /dev/null | grep -qE 'disabled|enabled'
r_checkExitStatus $?