Fix: Passt source an

This commit is contained in:
DragonSlayer_14 2025-03-03 17:49:02 +01:00
parent 3b0ac86e08
commit 86cbe76d0b
2 changed files with 6 additions and 4 deletions

View File

@ -1,7 +1,8 @@
#!/bin/bash
# Log-Funktion einbinden (Log.sh)
source Log.sh
# === IMPORTS ===
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
source "$SCRIPT_DIR/Log.sh"
# Funktion zum Prüfen der Internetverbindung
check_internet() {

View File

@ -1,8 +1,9 @@
#!/bin/bash
# === IMPORTS ===
source NetworkCheck.sh
source Log.sh
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
source "$SCRIPT_DIR/NetworkCheck.sh"
source "$SCRIPT_DIR/Log.sh"
# === KONFIGURATION ===
PING_RETRIES=2 # Anzahl der PING-Versuche vor WOL