#!/bin/bash # LibrePortal WebUI Update Lock Check # Checks for update lock file to prevent concurrent updates webuiCheckUpdateLock() { local lock_file="$containers_dir/libreportal/frontend/data/updater.lock" lock_file_found="" if [ -f "$lock_file" ]; then isNotice "Update lock file exists: $lock_file" lock_file_found="true" else isNotice "No update lock file found" lock_file_found="false" fi }