diff options
author | Francis Rowe <info@gluglug.org.uk> | 2015-02-10 13:39:39 +0000 |
---|---|---|
committer | Francis Rowe <info@gluglug.org.uk> | 2015-02-10 13:39:39 +0000 |
commit | 7a6932c71747ea9bbf37d26805cce2f159d66570 (patch) | |
tree | d0ed7094234a678931989ed3eb568fa203e3e021 /ich9macchange | |
parent | 7b35d96e2b33a144d9d3e301372cf9cb4fda1b28 (diff) | |
download | librebootfr-7a6932c71747ea9bbf37d26805cce2f159d66570.tar.gz librebootfr-7a6932c71747ea9bbf37d26805cce2f159d66570.zip |
ich9macchange: Add R400
Diffstat (limited to 'ich9macchange')
-rwxr-xr-x | ich9macchange | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/ich9macchange b/ich9macchange index b3544484..683fb627 100755 --- a/ich9macchange +++ b/ich9macchange @@ -47,14 +47,17 @@ fi $(echo $path) --macaddress $1 -for size in "8m" "4m" +for board in "x200" "r400" do - cd bin/x200_"$size"b/ - for rom in $(ls) + for size in "8m" "4m" do - dd if=../../ich9fdgbe_"$size".bin of="$rom" bs=1 count=12k conv=notrunc + cd bin/"$board"_"$size"b/ + for rom in $(ls) + do + dd if=../../ich9fdgbe_"$size".bin of="$rom" bs=1 count=12k conv=notrunc + done + cd ../../ done - cd ../../ done rm -f ich9fdgbe_4m.bin |