From c7bd01533fd6bdd6616100769a491ca01d98fe6a Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Wed, 17 Dec 2008 19:04:28 +0000 Subject: simplify --- rescue/Flash/scripts/reset_rootpass | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'rescue') diff --git a/rescue/Flash/scripts/reset_rootpass b/rescue/Flash/scripts/reset_rootpass index 7d1cb0431..dbbaf394f 100755 --- a/rescue/Flash/scripts/reset_rootpass +++ b/rescue/Flash/scripts/reset_rootpass @@ -80,13 +80,8 @@ if ! insert_pendrive; then exit 1 fi -if [ x"$version" = x"1.0" ]; then - sys_loop="$rootdir/loopbacks/system.loop" - sfs_loop="$rootdir/loopbacks/distrib.sqfs" -else - sys_loop="$rootdir/.loopbacks/system.loop" - sfs_loop="$rootdir/.loopbacks/distrib.sqfs" -fi +sys_loop="$rootdir$loopbacks_rel/system.loop" +sfs_loop="$rootdir$loopbacks_rel/distrib.sqfs" if ! prepare; then cleanup -- cgit v1.2.1