rc/rc.fix
Luka Vandervelden 50357fe1f9 Updated every file, added a few more.
- zsh is used instead of bash.
	- passwd, shadow and group are added, as users are required as
	  some point.
	- mdev.conf added to populate /dev.
	- sysctl.conf added… it’s empty, but at least there’s a
	  skeleton.
2019-08-19 19:55:50 +02:00

25 lines
614 B
Bash
Executable File

#!/bin/zsh
#
# /etc/rc.fix: adjustements startup file (multi-user)
#
#######################################################################
# X11 font-related checks
#######################################################################
if [ -d /usr/share/fonts/X11 ]; then
for i in `/bin/ls -d /usr/share/fonts/X11/*`; do
if [ ! -f $i/fonts.dir ]; then
mkfontdir $i &> /dev/null
mkfontscale $i &> /dev/null
fi
done
fi
if [ -d /var/cache/fontconfig ] && [ -z "`/bin/ls /var/cache/fontconfig/`" ]; then
fc-cache --system-only &> /dev/null
fi
# End of file