Browse Source

x230_heads: fixes to extended flashing commands

pull/119/merge
Martin Kepplinger 4 years ago
parent
commit
0fe7c1df1f
1 changed files with 5 additions and 5 deletions
  1. +5
    -5
      x230/x230_heads.sh

+ 5
- 5
x230/x230_heads.sh View File

@ -136,8 +136,8 @@ while true; do
cd ${OUTPUT_PATH} && ${FLASHROM} -p internal --layout ${LAYOUT_FILENAME} --image bios -w "${OUTPUT_IMAGE_NAME}"
else
cd ${OUTPUT_PATH} && ${FLASHROM} -p internal --layout ${LAYOUT_FILENAME} --image ifd -w "${OUTPUT_IMAGE_NAME}"
cd ${OUTPUT_PATH} && ${FLASHROM} -p internal --layout ${LAYOUT_FILENAME} --image me -w "${OUTPUT_IMAGE_NAME}"
cd ${OUTPUT_PATH} && ${FLASHROM} -p internal --layout ${LAYOUT_FILENAME} --image bios -w "${OUTPUT_IMAGE_NAME}"
${FLASHROM} -p internal --layout ${LAYOUT_FILENAME} --image me -w "${OUTPUT_IMAGE_NAME}"
${FLASHROM} -p internal --layout ${LAYOUT_FILENAME} --image bios -w "${OUTPUT_IMAGE_NAME}"
fi
break
;;
@ -153,10 +153,10 @@ done
rm -rf ${OUTPUT_PATH}
while true; do
read -r -p "Reboot now? (please do!) Y/n: " yn
read -r -p "Power off now? (please do!) Y/n: " yn
case $yn in
[Yy]* ) reboot ;;
[Yy]* ) systemctl poweroff ;;
[Nn]* ) exit;;
* ) reboot;;
* ) systemctl poweroff ;;
esac
done

Loading…
Cancel
Save