Files
Bart Sjerps 0a01479d24 update
2026-06-10 13:28:26 +02:00

17 lines
530 B
Bash
Executable File

#!/bin/bash
#============================================================================
# Title : lab-firstboot
# Description : Open a postinstall session on tty8 and run post-install
# ---------------------------------------------------------------------------
# Prevent openvt "could not deallocate" issue by redirecting stdin and stderr
exec 1>/dev/null
exec 2>/dev/null
# Don't run if homelab is already installed
test -f /etc/postinstall && exit
openvt -c 8 -w -f -s /var/lib/misc/custom/post-install.sh
sleep 15