diff --git a/pcs_online.sh b/pcs_online.sh index d4178b0..4715b50 100755 --- a/pcs_online.sh +++ b/pcs_online.sh @@ -4,6 +4,7 @@ script_name="$(basename $(realpath $0))" working_dir="$(dirname $(realpath $0))" conf_file="${working_dir}/conf/${script_name%%.*}.conf" +LOCK_DIR="$(mktemp -d)" # ---------- @@ -158,10 +159,6 @@ containsElement () { # - trap clean_up SIGHUP SIGINT SIGTERM -# - Create lock directory '$LOCK_DIR" -# -mkdir "$LOCK_DIR" - # ---------- # - Some checks ..