From ed85ae02bef997aa45184bc450c88094393803d3 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Fri, 17 Oct 2008 16:42:52 -0400 Subject: Don't check that the device exists. Checking whether or not it's a block device already covers that. --- rc.d/rc.sysinit | 2 -- 1 file changed, 2 deletions(-) (limited to 'rc.d') diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit index e1658315..40d67fdf 100755 --- a/rc.d/rc.sysinit +++ b/rc.d/rc.sysinit @@ -158,8 +158,6 @@ init_crypto() { elif [ "${src/^\/dev\/disk\/by-uuid\/}" != "$src" ]; then src=$(__readlink $src) fi - # Does it exist? - [ -z "$src" ] && continue # Is it a block device? [ -b "$src" ] || continue # Is it already a device mapper slave? (this is gross) -- cgit v1.2.1