summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xetc/rc.cdrom7
1 files changed, 5 insertions, 2 deletions
diff --git a/etc/rc.cdrom b/etc/rc.cdrom
index 23e8c28..fe5d7f5 100755
--- a/etc/rc.cdrom
+++ b/etc/rc.cdrom
@@ -6,6 +6,8 @@
# Size of memory file system /conf partition
partsize="3m"
+set -x
+
# Run some initialization routines
/etc/rc.d/uzip start
@@ -13,7 +15,7 @@ partsize="3m"
if (/bin/mkdir -p /var/.diskless 2> /dev/null); then
rmdir /var/.diskless
else
- varsize="8m"
+ varsize="32m"
mdmfs -S -M -s ${varsize} md /var
fi
@@ -31,12 +33,13 @@ done
# a tiny mfs under /conf and populate with stock
# configuration.
if [ ! -f /conf/config.xml ]; then
- echo "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
cp /conf.default/* /conf
mount_nullfs /conf /cf/conf
+ echo "done."
fi
# Create some needed directories
OpenPOWER on IntegriCloud