summaryrefslogtreecommitdiff
path: root/packages/altboot/files/altboot.func
diff options
context:
space:
mode:
authorMatthias Hentges <oe@hentges.net>2006-02-24 23:34:20 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-02-24 23:34:20 +0000
commit85af98589dc44171d216544bbcd47faeba01be28 (patch)
treede7d589c2874a9b3b6ebe795f0c961c1cf938921 /packages/altboot/files/altboot.func
parent76945f6290afc35fbb8f23ba907947396e7dd632 (diff)
altboot: update to 0.0.5-rc5. This version is known to work with kernel 2.4 an 2.6 (all plugins) on Akita
Diffstat (limited to 'packages/altboot/files/altboot.func')
-rw-r--r--packages/altboot/files/altboot.func6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/altboot/files/altboot.func b/packages/altboot/files/altboot.func
index ec3479257e..d7737ece96 100644
--- a/packages/altboot/files/altboot.func
+++ b/packages/altboot/files/altboot.func
@@ -65,7 +65,7 @@ pivot_realfs() {
test -z "$2" && RL="5" || RL="$2"
mkdir -p $1/media/ROM || die "mkdir -p $1/media/ROM failed"
- mount -o remount,ro /
+ mount -o remount,ro / >/dev/null 2>&1
do_pivot "$1" "$RL"
}
@@ -352,14 +352,14 @@ mount_cf(){
then
echo "Note: /media/cf is already mounted"
else
- /etc/init.d/pcmcia status | grep -q running || /etc/init.d/pcmcia start && echo "Note: cardmgr already active"
+ /etc/init.d/pcmcia status | grep -q running || /etc/init.d/pcmcia start && echo "Note: cardmgr is already active"
echo ""
# Give the SD and CF mounting some time. This is a must for SD
sleep 2
- mount /media/cf
+ mount | grep -q "/media/cf " || mount /media/cf
fi
}