Magellan Linux

Diff of /alx-src/trunk/alxconfig-ng/init.d/xdm-alx

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 239 by niro, Tue Apr 12 20:46:52 2005 UTC revision 247 by niro, Wed Apr 13 16:10:54 2005 UTC
# Line 9  Line 9 
9  #%before:  #%before:
10  #%after:  #%after:
11    
12  # $Header: /home/cvsd/alx-cvs/alx-src/alxconfig-ng/init.d/xdm-alx,v 1.2 2005-04-12 20:45:55 niro Exp $  # $Header: /home/cvsd/alx-cvs/alx-src/alxconfig-ng/init.d/xdm-alx,v 1.3 2005-04-13 16:10:54 niro Exp $
13    
14  source /etc/sysconfig/rc  source /etc/sysconfig/rc
15  source $rc_functions  source $rc_functions
# Line 30  case $1 in Line 30  case $1 in
30   echo -e ${COLOREDSTAR}"Stopping single X11 session ..."   echo -e ${COLOREDSTAR}"Stopping single X11 session ..."
31   if [ -n "$(pidof xinit)" ]   if [ -n "$(pidof xinit)" ]
32   then   then
33     CUR_VT=$(fgconsole)
34   start-stop-daemon --stop --exec /usr/X11R6/bin/xinit   start-stop-daemon --stop --exec /usr/X11R6/bin/xinit
35   evaluate_retval   evaluate_retval
36     chvt ${CUR_VT}
37   else   else
38   # process not running; print a message   # process not running; print a message
39   print_status warning not_running   print_status warning not_running

Legend:
Removed from v.239  
changed lines
  Added in v.247