Skip to content

Commit

Permalink
Change name to LOG_DIR and add a configuration menu
Browse files Browse the repository at this point in the history
  • Loading branch information
twojstaryzdomu committed Dec 15, 2024
1 parent b78b512 commit 2e64b04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scriptmodules/supplementary/runcommand/runcommand.sh
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ function get_config() {
[[ -z "$IMAGE_DELAY" ]] && IMAGE_DELAY=2
iniGet "log_dir"
LOG_DIR="$ini_value"
[[ -d "$LOGDIR" ]] || LOGDIR="/dev/shm"
[[ -z "$LOG_DIR" ]] && LOG_DIR="/dev/shm"
LOG="$LOG_DIR/runcommand.log"
fi

Expand Down

0 comments on commit 2e64b04

Please sign in to comment.