Author: glen
Date: Tue Jan  3 13:36:04 2006
New Revision: 6731

Modified:
   initng/daemon/xfs.i
Log:
- use initscript

Modified: initng/daemon/xfs.i
==============================================================================
--- initng/daemon/xfs.i (original)
+++ initng/daemon/xfs.i Tue Jan  3 13:36:04 2006
@@ -1,24 +1,11 @@
 # xfs:         Starts the X Font Server
 #
 # description: Starts and stops the X Font Server at boot time and shutdown.
+service daemon/xfs {
+       need = system/initial system/mountfs system/rundir;
 
-service daemon/prexfs {
-#      need = system/initial system/mountfs system/bootmisc
-       need = system/initial system/mountfs system/cleanfs system/rundir;
-
-       script start = {
-               FONT_UNIX_DIR=/tmp/.font-unix
-               rm -rf $FONT_UNIX_DIR
-               mkdir $FONT_UNIX_DIR
-               chown root:root $FONT_UNIX_DIR
-               chmod 1777 $FONT_UNIX_DIR
-       }
-}
-
-daemon daemon/xfs {
-       need = system/initial system/mountfs daemon/prexfs;
-
-       exec daemon = /usr/X11R6/bin/xfs;
-       exec_args daemon = -port 7100 -daemon -droppriv;
-       pid_file = /var/run/xfs.pid;
+       exec start = /etc/rc.d/init.d/xfs;
+       exec_args start = start;
+       exec stop = /etc/rc.d/init.d/xfs;
+       exec_args stop = stop;
 }
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to