3 # xfs: Starts the X Font Server
8 # description: Starts and stops the X Font Server at boot time and shutdown.
11 # config: /etc/X11/fs/config
14 # Source function library.
15 . /etc/rc.d/init.d/functions
17 # See how we were called.
20 # Check if the service is already running?
21 if [ ! -f /var/lock/subsys/xfs ]; then
22 show Starting X Font Server
23 rm -fr /tmp/.font-unix
24 daemon xfs -droppriv -daemon -port -1
26 echo "X Font Server already is running"
28 touch /var/lock/subsys/xfs
31 show Shutting down X Font Server
33 rm -f /var/lock/subsys/xfs
43 if [ -f /var/lock/subsys/xfs ]; then
44 show "Reload X Font Server configuration"
49 echo "Reload X Font Server not runed"
53 echo "*** Usage: xfs {start|stop|status|restart|reload}"