mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Run on CD-ROM, too, it should be writable after rc.cdrom
This commit is contained in:
parent
ba8366d5b6
commit
caf40204ef
6
etc/rc
6
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`
|
||||
|
||||
Loading…
Reference in New Issue
Block a user