#!/bin/bash
-# Reading system configuration informations, functions and package versions.
-source ../config/sysinfos
-source ../functions
-source ../config/packages-list
+source ../functions/main
echo "Creating /etc/fstab"
cat > ${LFS}/etc/fstab << "EOF"
fi
echo "${LFS_PARTITION} / reiserfs defaults,noatime 0 0" >> ${LFS}/etc/fstab
-if [ -n "${CDROM}" ]; then
+if [ "x${DVDROM}" = "xyes" ]; then
cat >> ${LFS}/etc/fstab << "EOF"
-/dev/cdrom /media/cdrom auto ro,noauto,users 0 0
/dev/dvd /media/dvd auto ro,noauto,users 0 0
EOF
fi