From ebaccfd654a4c5b1fd995efc891b5e8d9433ef4c Mon Sep 17 00:00:00 2001 From: Leonard Kugis Date: Tue, 16 Sep 2025 01:57:26 +0000 Subject: bugfixes Using find instead of CONF_FILESPEC variable, because some sh binaries do not support globbing. --- service.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'service.sh') diff --git a/service.sh b/service.sh index 4e3e5a6..4da6220 100644 --- a/service.sh +++ b/service.sh @@ -11,7 +11,6 @@ BOOTWAIT_MAX_COUNT=20 BOOTWAIT_COUNT_INTERVAL=15s CONF_DIR="/sdcard/.multi-mount" -CONF_FILESPEC="${CONF_DIR}/*.conf" # wait for system boot to complete bootwait_count=0 @@ -31,7 +30,7 @@ echo "=== $(date) ===" >> "${LOG_FILE}" 2>&1 # process config files in parallel config_file_count=0 -for f in ${CONF_FILESPEC}; do +for f in $(find "$CONF_DIR" -type f -name '*.conf'); do config_file_count=$((config_file_count+1)) "${MODDIR}/mount-from-config.sh" "${f}" & done -- cgit v1.2.3