summaryrefslogtreecommitdiffstats
path: root/etc/rc.cdrom
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-09-06 22:06:45 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-09-06 22:06:45 +0000
commit819ccd08b0d45766c62f6fd946a8edd3421e216d (patch)
treeb8ccb544c78902877ab7e1578cd3106c676c22ed /etc/rc.cdrom
parent2b0a8a19ed263b21bd23f0227f873b428721c535 (diff)
downloadpfsense-819ccd08b0d45766c62f6fd946a8edd3421e216d.zip
pfsense-819ccd08b0d45766c62f6fd946a8edd3421e216d.tar.gz
Set export VARMFS_COPYDBPKG=yes during varmfs mounting so that we can see the entire /var/db/pkg/$PACKAGENAME/$CONTENTS structure
Diffstat (limited to 'etc/rc.cdrom')
-rwxr-xr-xetc/rc.cdrom4
1 files changed, 3 insertions, 1 deletions
diff --git a/etc/rc.cdrom b/etc/rc.cdrom
index cc4084d..cd5611c 100755
--- a/etc/rc.cdrom
+++ b/etc/rc.cdrom
@@ -9,6 +9,8 @@ partsize="3m"
# Run some initialization routines
/etc/rc.d/uzip start
+export VARMFS_COPYDBPKG=yes
+
for i in tmp varmfs etcmfs rootmfs; do
if [ -f /etc/rc.d/$i ]; then
sh /etc/rc.d/$i start
@@ -22,7 +24,7 @@ done
# a tiny mfs under /conf and populate with stock
# configuration.
if [ ! -f /conf/config.xml ]; then
- echo -n "Generating a MFS /conf partition... "
+ echo -n "Generating a MFS /conf partition... "
device=$(mdconfig -a -t malloc -s ${partsize})
newfs /dev/${device} > /dev/null 2>&1
mount /dev/${device} /conf
OpenPOWER on IntegriCloud