blob: 29542d22920ff0e6fed7d60915b5ad53debe31c4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#!/bin/ash
#
# Simple "preload" by just reading the directory /usr/lib/chromium-browser
# Tested the variation loading just the linked libraries, but it does
# not bring the same startup acceleration than this trivial method...
. /opt/openslx/config
if [ "${SLX_BROWSER//chromium/}" != "$SLX_BROWSER" ]; then
(
find /usr/lib/chromium-browser -type f -exec dd if={} of=/dev/null \; &> /dev/null &
) &
fi
|