From 1fb4cd104db13414b6e19e110892daa0bbedd4e3 Mon Sep 17 00:00:00 2001 From: Felix Stupp Date: Fri, 17 Apr 2020 01:09:27 +0200 Subject: [PATCH] Enabled commands disabled during debugging --- debian-inst/makefile | 2 +- playbook/_common.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/debian-inst/makefile b/debian-inst/makefile index 2beddd6..85197e5 100644 --- a/debian-inst/makefile +++ b/debian-inst/makefile @@ -29,7 +29,7 @@ modified.iso: orig.iso makefile ${preseed} isolinux ../playbook cd "$(dir ${chksum_file})" && "${sum_type}" `find . -follow -type f \! -name "$(notdir ${chksum_file})"` > "$(notdir ${chksum_file})" chmod -w "${chksum_file}" genisoimage -r -J -b "isolinux/isolinux.bin" -c "isolinux/boot.cat" -no-emul-boot -boot-load-size 4 -boot-info-table -o "$@" "${iso_dir}" - #chmod +w -R "${iso_dir}" && rm -rf "${iso_dir}" + chmod +w -R "${iso_dir}" && rm -rf "${iso_dir}" orig.iso: image_info.txt curl --location "$$(cat "$<")" > "$@" diff --git a/playbook/_common.sh b/playbook/_common.sh index dfb98f8..9e60092 100644 --- a/playbook/_common.sh +++ b/playbook/_common.sh @@ -16,14 +16,14 @@ Sonst können Sie auch versuchen, das System erneut mit dem Installationsmedium Drücken Sie eine beliebige Taste, um das System herunterzufahren EOF read_key; - #systemctl poweroff; + systemctl poweroff; exit 0; } function setup_finished() { echo "Einrichtung abgeschlossen, drücken Sie eine beliebige Taste, um das System neu zu starten"; read_key; - #systemctl reboot; + systemctl reboot; exit 0; }