|
From: <ow...@us...> - 2008-01-22 13:50:38
|
Revision: 1019
http://ipcop.svn.sourceforge.net/ipcop/?rev=1019&view=rev
Author: owes
Date: 2008-01-22 05:50:42 -0800 (Tue, 22 Jan 2008)
Log Message:
-----------
Would be good to wait variable time for drive (especially USB stick) to
settle.
But it does not look that ash and myself will become friends.
Modified Paths:
--------------
ipcop/trunk/config/install/init
Modified: ipcop/trunk/config/install/init
===================================================================
--- ipcop/trunk/config/install/init 2008-01-21 21:50:09 UTC (rev 1018)
+++ ipcop/trunk/config/install/init 2008-01-22 13:50:42 UTC (rev 1019)
@@ -119,6 +119,21 @@
if [ x"${mode}" == x"normal" ]; then
echo "Running in normal mode"
+ #if [ test ! -b ${root} ]; then
+ # echo -ne "Waiting for ${root} "
+ # count=30
+ # while [ test ! -b ${root} -a $count -ge 0 ]
+ # do
+ # echo -ne "." && sleep 1
+ # count=`expr $count - 1`
+ # done
+ # if [ test -b ${root} ]; then
+ # echo "Done"
+ # else
+ # echo "Error"
+ # fi
+ #fi
+
echo -ne "Mounting real rootfs ... "
mount -o ro -t ext3 ${root} /harddisk
echo "Done"
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|