CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
procps: updated to 3.3.3 and aligned with upstream. Cleaned cross patches.
[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#######################################################################
dec3d7f0
VM
10if [ -d /usr/share/fonts/X11 ]; then
11 for i in `/bin/ls -d /usr/share/fonts/X11/*`; do
6dca1d21
JB
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