summaryrefslogtreecommitdiff
path: root/rc/rc.fix
blob: 02ce94c0cc89fc0f51bc158ec50394711c312dca (plain)
    1 #!/bin/bash
    2 #
    3 # /etc/rc.fix: adjustements startup file (multi-user)
    4 #
    5 
    6 
    7 #######################################################################
    8 # X11 font-related checks
    9 #######################################################################
   10 if [ -d /usr/share/fonts/X11 ]; then
   11     for i in `/bin/ls -d /usr/share/fonts/X11/*`; do
   12         if [ ! -f $i/fonts.dir ]; then
   13             mkfontdir $i &> /dev/null
   14             mkfontscale $i &> /dev/null
   15         fi
   16     done
   17 fi
   18 
   19 if [ -d /var/cache/fontconfig ] && [ -z "`/bin/ls /var/cache/fontconfig/`" ]; then
   20     fc-cache &> /dev/null
   21 fi
   22 
   23 
   24 # End of file

Generated by cgit