From 35443c24ae0e6f562a7e8de18ca0cd29cbd699d1 Mon Sep 17 00:00:00 2001 From: Fabio Erculiani Date: Sun, 11 Aug 2013 11:13:07 +0200 Subject: [PATCH] linuxrc: drop useless /dev nodes check The code just moved /dev over, so the checks are pointless --- defaults/linuxrc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/defaults/linuxrc b/defaults/linuxrc index 6058f1d..3a0b527 100644 --- a/defaults/linuxrc +++ b/defaults/linuxrc @@ -326,10 +326,7 @@ cd "${CHROOT}" move_mounts_to_chroot -if [ ! -e "${CHROOT}/dev/console" ] || [ ! -e "${CHROOT}/dev/null" ] -then - bad_msg "ERROR: your real /dev is missing console and null" -elif [ -e /etc/initrd.splash -a ! -e "${CHROOT}/dev/tty1" ] +if [ -e /etc/initrd.splash -a ! -e "${CHROOT}/dev/tty1" ] then bad_msg "ERROR: your real /dev is missing tty1, required for splash" fi