CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
rc: updated to upstream 2.24
[crossrootfs.git] / rc / rc.fix
CommitLineData
6dca1d21
JB
1#!/bin/bash
2#
3# /etc/rc.fix: adjustements startup file (multi-user)
4#
5
6
7#######################################################################
8# X11 font-related checks
9#######################################################################
10if [ -d /usr/lib/X11/fonts ]; then
11 for i in `/bin/ls -d /usr/lib/X11/fonts/*`; do
12 if [ ! -f $i/fonts.dir ]; then
13 mkfontdir $i &> /dev/null
14 mkfontscale $i &> /dev/null
15 fi
16 done
17fi
18
19if [ -d /var/cache/fontconfig ] && [ -z "`/bin/ls /var/cache/fontconfig/`" ]; then
20 fc-cache &> /dev/null
21fi
22
23
24# End of file