diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-11-16 02:52:16 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-11-16 02:52:16 +0000 |
commit | 6c80fac70cf94a3a58f28f4e5e28b2bd6dc4f963 (patch) | |
tree | 8c8fe128bd0f058c982114fa930935fff0e7ba57 | |
parent | 027f9e0576d28f3d6579cb959b59a19bfcf82a4d (diff) | |
download | pfsense-6c80fac70cf94a3a58f28f4e5e28b2bd6dc4f963.zip pfsense-6c80fac70cf94a3a58f28f4e5e28b2bd6dc4f963.tar.gz |
Be consistent with
$DO ACTION .... done.
-rwxr-xr-x | etc/rc.cdrom | 7 |
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 |