From caf40204efc0c0f29cda23fd19ea30d07fc2dbe9 Mon Sep 17 00:00:00 2001 From: jim-p Date: Mon, 25 Jul 2011 11:01:15 -0400 Subject: Run on CD-ROM, too, it should be writable after rc.cdrom --- etc/rc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'etc') diff --git a/etc/rc b/etc/rc index 0dd6946..0070dff 100755 --- a/etc/rc +++ b/etc/rc @@ -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` -- cgit v1.1