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:02:50 -0400 |
commit | caf40204efc0c0f29cda23fd19ea30d07fc2dbe9 (patch) | |
tree | 70120e405e33fea7befc2fa0e7c1002d5cc1fbf1 | |
parent | ba8366d5b6f50cf12172bbc24f893071c6b2b714 (diff) | |
download | pfsense-caf40204efc0c0f29cda23fd19ea30d07fc2dbe9.zip pfsense-caf40204efc0c0f29cda23fd19ea30d07fc2dbe9.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` |