3 # $FreeBSD: x11-fonts/xfs/files/xfs.in 340872 2014-01-24 00:14:07Z mat $
7 # REQUIRE: cleartmp ldconfig
10 # The following variables are provided to control startup of X font server in
11 # rc configuration file (eg /etc/rc.conf):
12 # xfs_enable (bool): Set to "NO" by default.
13 # Set it to "YES" to enable X font server
14 # xfs_config (str): Set to "%%PREFIX%%/etc/X11/fs/config" by default.
15 # Configuration file for X font server.
17 # Please see xfs(1), rc.conf(5) and rc(8) for further details.
25 [ -z "$xfs_enable" ] && xfs_enable="NO"
26 [ -z "$xfs_config" ] && xfs_config="%%PREFIX%%/etc/X11/fs/config"
30 command="%%PREFIX%%/bin/${name}"
31 command_args="-config ${xfs_config} -daemon ${xfs_user:+-user ${xfs_user}}"
32 required_files="$xfs_config"
33 extra_commands="reload"