From 30e2820b6c23aa88a6b35f1b00dc295c470c9977 Mon Sep 17 00:00:00 2001 From: Sthope Date: Tue, 23 Apr 2024 19:18:11 +0200 Subject: [PATCH] Add entrypoint.sh --- entrypoint.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 entrypoint.sh diff --git a/entrypoint.sh b/entrypoint.sh new file mode 100644 index 0000000..53ac2e1 --- /dev/null +++ b/entrypoint.sh @@ -0,0 +1,9 @@ +#!/bin/sh +cd /app +if $AUTO_START_PXE; then + ./iventoy.sh -R start +else + ./iventoy.sh start +fi +sleep 5 +tail -f log/log.txt \ No newline at end of file