diff options
-rw-r--r-- | service.sh | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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 |