From 3c62d02c9fa9f1a5ff30c37e3e2132f396280b2c Mon Sep 17 00:00:00 2001 From: simono41 Date: Wed, 25 Apr 2018 18:28:57 +0200 Subject: [PATCH] final-fix --- make_mksquashfs-auto.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/make_mksquashfs-auto.sh b/make_mksquashfs-auto.sh index 22927b3..ef00c86 100755 --- a/make_mksquashfs-auto.sh +++ b/make_mksquashfs-auto.sh @@ -9,7 +9,7 @@ if [[ $EUID -ne 0 ]]; then fi # full parameters -# ./make_mksquashfs-auto.sh xfce4 deletework makesystem mkinitcpio filesystem makeimage makebios makeiso +# ./make_mksquashfs-auto.sh xfce4 deletework makesystem mkinitcpio filesystem initcheck makeimage makebios makeiso iso_name=spectre_os iso_label="SPECTRE_OS" @@ -29,6 +29,7 @@ do if [ "$wort" == "makesystem" ]; then makesystem=y; fi if [ "$wort" == "mkinitcpio" ]; then mkinitcpio=y; fi if [ "$wort" == "filesystem" ]; then filesystem=y; fi + if [ "$wort" == "initcheck" ]; then filesystem=y; fi if [ "$wort" == "makeimage" ]; then makeimage=y; fi if [ "$wort" == "makebios" ]; then makebios=y; fi if [ "$wort" == "makeiso" ]; then makeiso=y; fi @@ -421,6 +422,11 @@ if [ "${filesystem}" == "y" ]; then cp arch-graphical-install-auto ${work_dir}/${arch}/airootfs/usr/bin/arch-graphical-install-auto chmod +x ${work_dir}/${arch}/airootfs/usr/bin/arch-graphical-install-auto ./arch-chroot ${work_dir}/${arch}/airootfs /usr/bin/arch-graphical-install-auto ${version} + +fi + +if [ "${initcheck}" == "y" ]; then + echo "ERSTTSTART WIRD JETZT AUSGEFÜHRT" echo "Der erste Start kann etwas länger dauern!!!" echo "Bitte loggen sie sich mit root ein und fahren sie wieder mit poweroff runter!!!"