summaryrefslogtreecommitdiffstats
path: root/core/modules/bwlp-stage4-tweaks/data/opt/openslx/bin/loadfscache
blob: c2f1f0c94e0600340842571f629d63a3c94b9aed (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/ash

if ! [ -e "$1" ]; then
	echo "Invalid file $1"
	exit 1
fi

file="$1"

cat "$file" &> /dev/null

for i in $( ldd "$file" | awk '$2 == "=>" {print $3}' ); do
	cat "$i" &> /dev/null
done

exit 0