|
@ -155,8 +155,8 @@ rm -rf ${OUTPUT_PATH} |
|
|
while true; do |
|
|
while true; do |
|
|
read -r -p "Power off now? (please do!) Y/n: " yn |
|
|
read -r -p "Power off now? (please do!) Y/n: " yn |
|
|
case $yn in |
|
|
case $yn in |
|
|
[Yy]* ) systemctl poweroff ;; |
|
|
|
|
|
|
|
|
[Yy]* ) poweroff ;; |
|
|
[Nn]* ) exit;; |
|
|
[Nn]* ) exit;; |
|
|
* ) systemctl poweroff ;; |
|
|
|
|
|
|
|
|
* ) poweroff ;; |
|
|
esac |
|
|
esac |
|
|
done |
|
|
done |