Browse Source

x230: make rebooting after flashing the default choice

pull/36/head
Martin Kepplinger 6 years ago
parent
commit
ea2c88754f
2 changed files with 4 additions and 4 deletions
  1. +2
    -2
      x230/x230_heads.sh
  2. +2
    -2
      x230/x230_skulls.sh

+ 2
- 2
x230/x230_heads.sh View File

@ -117,10 +117,10 @@ while true; do
esac esac
done done
while true; do while true; do
read -r -p "Reboot now? (please do!) y/N: " yn
read -r -p "Reboot now? (please do!) Y/n: " yn
case $yn in case $yn in
[Yy]* ) reboot ;; [Yy]* ) reboot ;;
[Nn]* ) exit;; [Nn]* ) exit;;
* ) exit;;
* ) reboot;;
esac esac
done done

+ 2
- 2
x230/x230_skulls.sh View File

@ -115,10 +115,10 @@ while true; do
esac esac
done done
while true; do while true; do
read -r -p "Reboot now? (please do!) y/N: " yn
read -r -p "Reboot now? (please do!) Y/n: " yn
case $yn in case $yn in
[Yy]* ) reboot ;; [Yy]* ) reboot ;;
[Nn]* ) exit;; [Nn]* ) exit;;
* ) exit;;
* ) reboot;;
esac esac
done done

Loading…
Cancel
Save