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