svn path=/nixu/trunk/; revision=7098
This commit is contained in:
Eelco Dolstra 2006-11-23 17:51:03 +00:00
parent 5e8d54eef7
commit 0db7e06e7f

View File

@ -23,7 +23,7 @@ done
if test -z "@readOnlyRoot@"; then
#rootDev=$(grep "/dev/.* / " /proc/mounts | sed 's/^\([^ ]*\) .*/\1/')
if mount -t dontcare -o remount,rw /dontcare /; then
if ! mount -t dontcare -o remount,rw /dontcare /; then
echo "Couldn't remount / read-writable, starting emergency shell!"
exec @shell@
fi