diff options
author | Olivier Blin <oblin@mandriva.com> | 2009-02-11 15:45:15 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2009-02-11 15:45:15 +0000 |
commit | 15895b7c5a7fc11ffd38ce594aade206e64daa27 (patch) | |
tree | 23c5bd1fe7a2e52d9df0a3bc48d67f06c0817375 /rescue | |
parent | 6a2f28243ea9f8c84e78771ab2fca88b3f904545 (diff) | |
download | drakx-backup-do-not-use-15895b7c5a7fc11ffd38ce594aade206e64daa27.tar drakx-backup-do-not-use-15895b7c5a7fc11ffd38ce594aade206e64daa27.tar.gz drakx-backup-do-not-use-15895b7c5a7fc11ffd38ce594aade206e64daa27.tar.bz2 drakx-backup-do-not-use-15895b7c5a7fc11ffd38ce594aade206e64daa27.tar.xz drakx-backup-do-not-use-15895b7c5a7fc11ffd38ce594aade206e64daa27.zip |
use local skip_dev variable
Diffstat (limited to 'rescue')
-rwxr-xr-x | rescue/restore-image.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rescue/restore-image.sh b/rescue/restore-image.sh index c6543430e..084cd97b3 100755 --- a/rescue/restore-image.sh +++ b/rescue/restore-image.sh @@ -137,7 +137,7 @@ function detect_win32() # get the last created windows partition information set -f - device=$(fdisk -l | grep "^/dev/" | grep -v ${inst_source_dev} | grep -e "FAT\|NTFS\|HPFS" | tail -1 | sed 's/ .*$//') + device=$(fdisk -l | grep "^/dev/" | grep -v ${skip_dev} | grep -e "FAT\|NTFS\|HPFS" | tail -1 | sed 's/ .*$//') set +f if [ -z "${device}" ]; then |