update
This commit is contained in:
Executable
+16
@@ -0,0 +1,16 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user