summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2009-02-11 14:26:17 +0000
committerOlivier Blin <oblin@mandriva.com>2009-02-11 14:26:17 +0000
commite2814a55f68ba2010f7e94f71f1df293bfe0ab64 (patch)
tree002dbffe1f4cd9ea8e8aee7713e0ff2c00a35b5d
parente8d81c3d85b28c0df7afb44f6b26de422b4131d0 (diff)
downloaddrakx-e2814a55f68ba2010f7e94f71f1df293bfe0ab64.tar
drakx-e2814a55f68ba2010f7e94f71f1df293bfe0ab64.tar.gz
drakx-e2814a55f68ba2010f7e94f71f1df293bfe0ab64.tar.bz2
drakx-e2814a55f68ba2010f7e94f71f1df293bfe0ab64.tar.xz
drakx-e2814a55f68ba2010f7e94f71f1df293bfe0ab64.zip
rename as detect_and_resize_win32
-rwxr-xr-xrescue/restore-image.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/rescue/restore-image.sh b/rescue/restore-image.sh
index 046ba10e0..10bde44e0 100755
--- a/rescue/restore-image.sh
+++ b/rescue/restore-image.sh
@@ -112,13 +112,13 @@ function detect_root()
root=$(echo ${devices} | cut -d ' ' -f 1)
fi
else
- root=$(resize_win32 $(echo ${devices} | cut -d ' ' -f 1))
+ root=$(detect_and_resize_win32 $(echo ${devices} | cut -d ' ' -f 1))
fi
echo "${root}"
}
-function resize_win32()
+function detect_and_resize_win32()
{
# from detect_root()
disk=${1}