pxe: trying to fix autostart script

This commit is contained in:
pedro 2024-09-26 13:46:56 -03:00
parent 9a2198054c
commit 94da8a9a1c
1 changed files with 4 additions and 4 deletions

View File

@ -263,15 +263,15 @@ prepare_app() {
# startup script execution # startup script execution
cat > "${ISO_PATH}/chroot/root/.profile" <<END cat > "${ISO_PATH}/chroot/root/.profile" <<END
set -x
set -e
if [ -f /tmp/workbench_lock ]; then if [ -f /tmp/workbench_lock ]; then
exit 0 return 0
else else
touch /tmp/workbench_lock touch /tmp/workbench_lock
fi fi
set -x
set -e
stty -echo # Do not show what we type in terminal so it does not meddle with our nice output stty -echo # Do not show what we type in terminal so it does not meddle with our nice output
dmesg -n 1 # Do not report *useless* system messages to the terminal dmesg -n 1 # Do not report *useless* system messages to the terminal
# detect pxe env # detect pxe env