From 51a455d49c37d05b5df122cd5fa38eb99c853d75 Mon Sep 17 00:00:00 2001 From: Fabio Erculiani Date: Tue, 6 Aug 2013 13:58:27 +0200 Subject: [PATCH] linuxrc: use is_livecd() rather than ${CDROOT} value check --- defaults/linuxrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/defaults/linuxrc b/defaults/linuxrc index cdf120c..baa367b 100644 --- a/defaults/linuxrc +++ b/defaults/linuxrc @@ -401,7 +401,7 @@ do done - if [ "${CDROOT}" = 1 -a "${got_good_root}" = '1' -a "${REAL_ROOT}" != "/dev/nfs" ] + if is_livecd && [ "${got_good_root}" = '1' -a "${REAL_ROOT}" != "/dev/nfs" ] then # CD already mounted; no further checks necessary break