From a8d5dba40c1a239c2cb9dc12a45a5c386c67682b Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sat, 6 Sep 2008 04:13:00 +0000 Subject: * Mount /root unionfs writable * Move unionfs mounting to earlier in the sequence --- etc/rc | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) (limited to 'etc/rc') diff --git a/etc/rc b/etc/rc index fabc4f4..48d734a 100755 --- a/etc/rc +++ b/etc/rc @@ -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 -- cgit v1.1