diff options
author | Jonathan Bauer | 2020-02-07 12:02:26 +0100 |
---|---|---|
committer | Jonathan Bauer | 2020-02-07 12:02:26 +0100 |
commit | e952459561a372b27e04759354067f3fd4b0c598 (patch) | |
tree | 3860c5879cc42c592fe4a2b1812c06c55d1707d1 /core/modules | |
parent | [kiosk-chromium] fix auto-reload (diff) | |
download | mltk-e952459561a372b27e04759354067f3fd4b0c598.tar.gz mltk-e952459561a372b27e04759354067f3fd4b0c598.tar.xz mltk-e952459561a372b27e04759354067f3fd4b0c598.zip |
[kiosk-chromium] slighty better preloader
reading the ~150MB chromium-browser binary gives the same acceleration
than reading the whole folder.
TODO: move the preload stuff to after lightdm has spawned
Diffstat (limited to 'core/modules')
-rw-r--r-- | core/modules/kiosk-chromium/data/opt/openslx/scripts/systemd-setup_kiosk.d/00-preload | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modules/kiosk-chromium/data/opt/openslx/scripts/systemd-setup_kiosk.d/00-preload b/core/modules/kiosk-chromium/data/opt/openslx/scripts/systemd-setup_kiosk.d/00-preload index 29542d22..6fbbc5ee 100644 --- a/core/modules/kiosk-chromium/data/opt/openslx/scripts/systemd-setup_kiosk.d/00-preload +++ b/core/modules/kiosk-chromium/data/opt/openslx/scripts/systemd-setup_kiosk.d/00-preload @@ -8,6 +8,6 @@ if [ "${SLX_BROWSER//chromium/}" != "$SLX_BROWSER" ]; then ( - find /usr/lib/chromium-browser -type f -exec dd if={} of=/dev/null \; &> /dev/null & + dd if=/usr/lib/chromium-browser/chromium-browser of=/dev/null &> /dev/null & ) & fi |