FIRSTBOOT=1
if [ x"$DATAFS" != "x" ]
then
+ /sbin/fsck -y $DATAFS
/bin/mount $DATAFS /opt
if [ -e /opt/var/.fsck_done ]
if [ "$FIRSTBOOT" = "1" ]
then
/sbin/resize2fs -f $ROOTFS
- /sbin/fsck -y $ROOTFS
fi
+ /sbin/fsck -y $ROOTFS
/bin/mount $ROOTFS /sysroot -o rw
else
echo "WARNING : THERE IS NO ROOTFS."
if [ "$FIRSTBOOT" = "1" ]
then
/sbin/resize2fs -f $DATAFS
- /sbin/fsck -y $DATAFS
/bin/mount $DATAFS /sysroot/opt
else
/bin/mount -M /opt /sysroot/opt
if [ "$FIRSTBOOT" = "1" ]
then
/sbin/resize2fs -f $MODULES
- /sbin/fsck -y $MODULES
fi
+ /sbin/fsck -y $MODULES
/bin/mount $MODULES /sysroot/usr/lib/modules
fi