diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2008-09-06 04:13:00 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2008-09-06 04:13:00 +0000 |
commit | a8d5dba40c1a239c2cb9dc12a45a5c386c67682b (patch) | |
tree | cb34d2e2a6fd0b68bb319545dcef04cea09ad031 | |
parent | c75c3809e1f3106b54573959d46719288fb4023c (diff) | |
download | pfsense-a8d5dba40c1a239c2cb9dc12a45a5c386c67682b.zip pfsense-a8d5dba40c1a239c2cb9dc12a45a5c386c67682b.tar.gz |
* Mount /root unionfs writable
* Move unionfs mounting to earlier in the sequence
-rwxr-xr-x | etc/rc | 20 |
1 files changed, 12 insertions, 8 deletions
@@ -121,6 +121,18 @@ fi chmod 1777 /tmp if [ ! "$PLATFORM" = "cdrom" ] ; then + mkdir /tmp/unionfs + mkdir /tmp/unionfs/usr + mkdir /tmp/unionfs/root + echo -n "Mounting unionfs directories: " + echo -n "usr" + mount_unionfs /tmp/unionfs/usr /usr/ + echo -n " root" + mount_unionfs /tmp/unionfs/root /root/ + echo "done." +fi + +if [ ! "$PLATFORM" = "cdrom" ] ; then # Malloc debugging check if [ -L /etc/malloc.conf ]; then #ln -s aj /etc/malloc.conf @@ -352,14 +364,6 @@ minicron 240 /var/run/ping_hosts.pid /usr/local/bin/ping_hosts.sh chmod a+rw /tmp/. -if [ ! "$PLATFORM" = "cdrom" ] ; then - mkdir /tmp/unionfs - mkdir /tmp/unionfs/usr - echo -n "Mounting /usr/ read/write..." - mount_unionfs /tmp/unionfs/usr /usr/ - echo "done." -fi - echo "Bootup complete" /usr/local/bin/beep.sh start 2>&1 >/dev/null |