From b502997d5ec8725eec984b37a6e577fc0e8e21f0 Mon Sep 17 00:00:00 2001 From: Gardouille Date: Tue, 17 Nov 2015 21:58:55 +0100 Subject: [PATCH] make_win_usb: Should specify the USB key as 1st arg and iso file as the 2nd. --- make_win_usb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/make_win_usb b/make_win_usb index 2cfb4df..c1b9c06 100755 --- a/make_win_usb +++ b/make_win_usb @@ -2,9 +2,9 @@ # Source: http://admincloud.net/116/creer-une-cle-usb-bootable-de-windows-sous-linux/ -WIN_HDD=/dev/sdb +WIN_HDD="${1}" WIN_USB_MNT_PATH=/mnt/USBW7/ -WIN_ISO_FILE="${1}" +WIN_ISO_FILE="${2}" WIN_ISO_MNT_PATH=/mnt/WIN7/ # Empty MBR