diff --git a/patches/stage-2-init.sh b/patches/stage-2-init.sh index 8dd7b47..66afd2d 100755 --- a/patches/stage-2-init.sh +++ b/patches/stage-2-init.sh @@ -1,8 +1,6 @@ #! @shell@ -set -x - -echo "--- starting stage 2 ---" +#set -x systemConfig=@systemConfig@ @@ -10,6 +8,11 @@ export HOME=/root PATH="@path@" if [ "${IN_NIXOS_SYSTEMD_STAGE1:-}" != true ]; then + # Print a greeting. + echo + echo -e "\e[1;32m<<< @distroName@ Stage 2 >>>\e[0m" + echo + # Process the kernel command line. for o in $(>>\e[0m" - echo - - # Normally, stage 1 mounts the root filesystem read/writable. # However, in some environments, stage 2 is executed directly, and the # root is read-only. So make it writable here.