Magellan Linux

Diff of /trunk/magellan-initscripts/etc/rc.d/init.d/functions

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

revision 12 by niro, Mon Dec 13 23:38:36 2004 UTC revision 71 by niro, Tue Mar 15 19:07:56 2005 UTC
# Line 1  Line 1 
1  #!/bin/bash  #!/bin/bash
2    # $Header: /home/cvsd/magellan-cvs/magellan-src/magellan-initscripts/etc/rc.d/init.d/functions,v 1.3 2005-03-15 19:07:56 niro Exp $
3    
4  # Begin $rc_base/init.d/functions - Run Level Control Functions  # Begin $rc_base/init.d/functions - Run Level Control Functions
5    
6  # Based on functions script from LFS-3.1 and earlier.  # Based on functions script from LFS-3.1 and earlier.
# Line 106  update_svcstatus() Line 108  update_svcstatus()
108   then   then
109   #check if statedir exists   #check if statedir exists
110   [ ! -d ${svcdir}/started ] && mkdir ${svcdir}/started   [ ! -d ${svcdir}/started ] && mkdir ${svcdir}/started
111    
112   #get real name of the initscript, not from the symlink   #get real name of the initscript, not from the symlink
113   if [ -L "$0" ]   if [ -L "$0" ]
114   then   then

Legend:
Removed from v.12  
changed lines
  Added in v.71