From 543df7fc10687533686240b5a407af0d88029790 Mon Sep 17 00:00:00 2001 From: Giorgio Ravera Date: Mon, 5 Jan 2026 15:58:55 +0100 Subject: [PATCH] updated entrypoint.sh --- entrypoint.sh | 13 ++++++++++--- requirements.txt | 2 +- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index 029ca13..098c29c 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -9,10 +9,13 @@ DB_RESET="${DB_RESET:-0}" DOMAIN="${DOMAIN:-example.com}" PUBLIC_IP="${PUBLIC_IP:-127.0.0.1}" +IMAGE_NAME="network-manager" +IMAGE_VERSION="0.0" + function create_db() { # Reset database if requested if [[ $DB_RESET -eq 1 && -f "$DB_FILE" ]]; then - echo "INFO: [*] Removing existing database..." + echo "INFO: [✓]] Removing existing database." rm -f "$DB_FILE" fi @@ -22,7 +25,7 @@ function create_db() { return 0 fi - echo "INFO: [*] Creating database: $DB_FILE" + echo "INFO: [✓] Creating database: $DB_FILE" # Create DB with dynamic settings sqlite3 "$DB_FILE" <