Run on CD-ROM, too, it should be writable after rc.cdrom

This commit is contained in:
jim-p 2011-07-25 11:01:15 -04:00
parent ba8366d5b6
commit caf40204ef

6
etc/rc
View File

@ -89,10 +89,8 @@ if grep -q cf /etc/fstab; then
fi
# sync pw database after mount.
if [ ! "$PLATFORM" = "cdrom" ] ; then
rm -f /etc/spwd.db.tmp
/usr/sbin/pwd_mkdb -d /etc/ /etc/master.passwd
fi
rm -f /etc/spwd.db.tmp
/usr/sbin/pwd_mkdb -d /etc/ /etc/master.passwd
product=`/usr/bin/grep product_name /etc/inc/globals.inc | /usr/bin/cut -d'"' -f4`
hideplatform=`/usr/bin/grep hideplatform /etc/inc/globals.inc | /usr/bin/wc -l`