if [ ! -e /dev/loop0 ]; then message "${PROBLEM_COLOR}No loop device found, skipped initrd creation" \ "${DEFAULT_COOLOR}" else message "${MESSAGE_COLOR}Add /boot/resume-initrd to your kernel" \ "${DEFAULT_COLOR}" fi