diff options
author | jim-p <jimp@pfsense.org> | 2011-07-25 11:01:15 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2011-07-25 11:01:15 -0400 |
commit | 01656166186ac300c4e06d1e74766f3dc404cd06 (patch) | |
tree | 6c7de5c45e59af026e4446f64076cf918b9dd6c7 | |
parent | ca3537ba31f597404bd53cb91823fb8bb83b18a1 (diff) | |
download | pfsense-01656166186ac300c4e06d1e74766f3dc404cd06.zip pfsense-01656166186ac300c4e06d1e74766f3dc404cd06.tar.gz |
Run on CD-ROM, too, it should be writable after rc.cdrom
-rwxr-xr-x | etc/rc | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -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` |