blob: 15ae9b33ac935c2dac77bebdcd65718301cf7013 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
#!/bin/sh
#
# $NetBSD: fccache.in,v 1.5 2021/11/26 12:51:24 sborrill Exp $
#
# PROVIDE: fccache
# REQUIRE: mountcritremote
# BEFORE: DAEMON
$_rc_subr_loaded . /etc/rc.subr
name="fccache"
rcvar=$name
command="@X11ROOTDIR@/bin/fc-cache"
start_cmd="fccache_start"
stop_cmd=":"
fccache_start()
{
if [ -x "${command}" ]; then
echo -n "Updating fontconfig cache:"
${command}
echo " done."
fi
}
load_rc_config $name
run_rc_command "$1"
|