From 32591a85e1da6a37178d5486c92216c8ef3bd632 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Wed, 17 Dec 2008 19:08:44 +0000 Subject: handle path to lzma distrib loopbacks --- rescue/Flash/scripts/reset_rootpass | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'rescue/Flash/scripts/reset_rootpass') diff --git a/rescue/Flash/scripts/reset_rootpass b/rescue/Flash/scripts/reset_rootpass index dbbaf394f..9fd81155a 100755 --- a/rescue/Flash/scripts/reset_rootpass +++ b/rescue/Flash/scripts/reset_rootpass @@ -23,6 +23,8 @@ function prepare() { return 1 fi + set_sfs_loop $rootdir + mount -t squashfs -o loop $sfs_loop $tmpdir/squash > /dev/null 2>&1 if [ $? -ne 0 ]; then echo "Error mounting distrib.sqfs" @@ -81,7 +83,7 @@ if ! insert_pendrive; then fi sys_loop="$rootdir$loopbacks_rel/system.loop" -sfs_loop="$rootdir$loopbacks_rel/distrib.sqfs" +sfs_loop= # if ! prepare; then cleanup -- cgit v1.2.1