#!/bin/sh
#
# /etc/rc.d/rc.sysinit - run once at boot time
-# $Id: rc.sysinit,v 1.106 2002/07/13 16:25:04 misiek Exp $
+# $Id: rc.sysinit,v 1.107 2002/08/09 06:30:27 zagrodzki Exp $
#
# Taken in part from Miquel van Smoorenburg's bcheckrc.
# Changes: Arkadiusz Mi¶kiewicz <misiek@pld.org.pl>
# before mount - that's where the password is entered.
# mount is buggy - when remounting loopback filesystem, loop=XXX
# option is removed from /etc/mtab
-if grep -q "^[^#].*encryption=" /etc/fstab; then
+if grep "^[^#].*encryption=" /etc/fstab | grep -v -q "noauto"; then
show "Checking encrypted filesystems"; started
LOOPLIST="$(
grep "encryption=" /etc/fstab | grep -v 'noauto' | grep -w 'ro' |\