#!/bin/dash
# Description: Preload fonts and common icons for faster desktop bringup.
# must be run before 50-wpagui because 50-wpagui takes a long time to finish

case $1 in 
start)
echo preloading fonts and icons ...
find /root/.fonts/ /root/Fonts/ /usr/share/icons/hicolor -type f -print0 | xargs -0 readahead &
;;
esac
