From ae6fc220743e4e485f818350ab1f24c00b20d1f9 Mon Sep 17 00:00:00 2001 From: "Jean (east-high-Nerd)" Date: Mon, 21 Jul 2025 14:10:16 -0400 Subject: [PATCH] Trigger 'finalize.sh' automatically at end of script instead of having to be run after reboot --- post-inst.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/post-inst.sh b/post-inst.sh index c4264af..e4ec2f5 100755 --- a/post-inst.sh +++ b/post-inst.sh @@ -254,6 +254,10 @@ zfs \ snapshot \ ${HOSTNAME,,}/ROOT/${ID}@post-install +sudo \ + -u ${USERNAME} \ + "${BASEDIR}/finalize.sh" + printf \ '\033[?47h\033[2J\033[H'