diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-09-06 22:06:45 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-09-06 22:06:45 +0000 |
commit | 819ccd08b0d45766c62f6fd946a8edd3421e216d (patch) | |
tree | b8ccb544c78902877ab7e1578cd3106c676c22ed /etc | |
parent | 2b0a8a19ed263b21bd23f0227f873b428721c535 (diff) | |
download | pfsense-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')
-rwxr-xr-x | etc/rc.cdrom | 4 |
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 |