limit search depth for apkovl file

This commit is contained in:
macmpi 2023-05-11 15:04:54 +02:00
parent 6b903b2670
commit aa371a2e0c
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View File

@ -8,7 +8,7 @@ exec 1>/dev/console 2>&1
logger -st ${0##*/} "Alpine Linux headless bootstrap v$VERSION by macmpi"
mkdir /tmp/.trash
ovlpath=$( find /media -type d -path '*/.*' -prune -o -type f -name *.apkovl.tar.gz -exec dirname {} \; | head -1 )
ovlpath=$( find /media -maxdepth 2 -type d -path '*/.*' -prune -o -type f -name *.apkovl.tar.gz -exec dirname {} \; | head -1 )
## Setup Network interfaces