From c5f29df11a765695821439437b12246a92d6c03c Mon Sep 17 00:00:00 2001 From: Martin Kepplinger Date: Fri, 3 Jan 2020 13:29:40 +0100 Subject: [PATCH] x230: update defconfigs and fix reboot issue --- ...free-defconfig-4357a820764 => free-defconfig-6af55e583d} | 0 ...e-defconfig-4357a820764 => nonfree-defconfig-6af55e583d} | 2 +- x230/x230_skulls.sh | 6 +++--- 3 files changed, 4 insertions(+), 4 deletions(-) rename x230/{free-defconfig-4357a820764 => free-defconfig-6af55e583d} (100%) rename x230/{nonfree-defconfig-4357a820764 => nonfree-defconfig-6af55e583d} (100%) diff --git a/x230/free-defconfig-4357a820764 b/x230/free-defconfig-6af55e583d similarity index 100% rename from x230/free-defconfig-4357a820764 rename to x230/free-defconfig-6af55e583d diff --git a/x230/nonfree-defconfig-4357a820764 b/x230/nonfree-defconfig-6af55e583d similarity index 100% rename from x230/nonfree-defconfig-4357a820764 rename to x230/nonfree-defconfig-6af55e583d index 5efa6e5..cb129ec 100644 --- a/x230/nonfree-defconfig-4357a820764 +++ b/x230/nonfree-defconfig-6af55e583d @@ -2,8 +2,8 @@ CONFIG_USE_OPTION_TABLE=y CONFIG_USE_BLOBS=y CONFIG_BOOTSPLASH_IMAGE=y CONFIG_VENDOR_LENOVO=y -CONFIG_CBFS_SIZE=0x400000 CONFIG_VGA_BIOS=y +CONFIG_CBFS_SIZE=0x400000 CONFIG_BOARD_LENOVO_X230=y CONFIG_NO_POST=y # CONFIG_S3_VGA_ROM_RUN is not set diff --git a/x230/x230_skulls.sh b/x230/x230_skulls.sh index 6c2356b..4274e80 100755 --- a/x230/x230_skulls.sh +++ b/x230/x230_skulls.sh @@ -215,10 +215,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