diff --git a/kdump-lib.sh b/kdump-lib.sh index c2f9c0e..6511c4b 100755 --- a/kdump-lib.sh +++ b/kdump-lib.sh @@ -331,6 +331,11 @@ kdump_get_persistent_dev() { echo $(get_persistent_dev "$dev") } +is_atomic() +{ + grep -q "ostree" /proc/cmdline +} + is_ipv6_address() { echo $1 | grep -q ":"