summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xetc/rc20
1 files changed, 12 insertions, 8 deletions
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
OpenPOWER on IntegriCloud