]> git.pld-linux.org Git - packages/XFree86.git/blame - xfs.initd
patches from RH 6.0
[packages/XFree86.git] / xfs.initd
CommitLineData
9e2c860d 1#!/bin/sh
5271f2ac
JR
2#
3# xfs: Starts the X Font Server
4#
5# Version: @(#) /etc/rc.d/init.d/xfs 1.0
6#
7# chkconfig: 345 90 10
8# description: Starts and stops the X Font Server at boot time and shutdown.
9#
10# processname: xfs
11# config: /etc/X11/fs/config
12
13# Source function library.
14. /etc/rc.d/init.d/functions
15
16# See how we were called.
17case "$1" in
18 start)
19 show Starting X Font Server
ed970c2d 20 daemon /usr/X11R6/bin/xfs
5271f2ac 21 touch /var/lock/subsys/xfs
5271f2ac
JR
22 ;;
23 stop)
24 show Shutting down X Font Server
25 killproc xfs
26 rm -f /var/lock/subsys/xfs
27 ;;
28 status)
29 status xfs
30 ;;
31 restart)
32 $0 stop
33 $0 start
34 ;;
35 *)
36 echo "Usage: $0 {start|stop|status|restart}"
37 exit 1
38esac
39
40exit 0
41
This page took 0.051857 seconds and 4 git commands to generate.