Magellan Linux

Diff of /trunk/initscripts/busybox/rc/functions

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

revision 724 by niro, Mon Jun 2 22:14:35 2008 UTC revision 1168 by niro, Wed Dec 15 17:44:36 2010 UTC
# Line 1  Line 1 
1  #!/bin/sh  #!/bin/sh
2  # $Header: /home/cvsd/magellan-cvs/magellan-src/busybox-initscripts/rc/functions,v 1.1 2008-06-02 22:14:35 niro Exp $  # $Header: /home/cvsd/magellan-cvs/magellan-src/busybox-initscripts/rc/functions,v 1.2 2008-06-02 22:53:36 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    
# Line 47  svcmount="no" Line 47  svcmount="no"
47  svcfstype="tmpfs"  svcfstype="tmpfs"
48  svcsize=1024  svcsize=1024
49    
50    rc_echo() { echo $@; }
51    rc_print() { rc_echo -e "${COLOREDSTAR}$@"; }
52    
53  # dummy function; needed if splashutils are not installed  # dummy function; needed if splashutils are not installed
54  splash() { return 0; }  splash() { return 0; }
# Line 201  print_status() Line 203  print_status()
203  getpids()  getpids()
204  {  {
205   base=${1##*/}   base=${1##*/}
206   pidlist=$(pidof -o $$ -o $PPID -x $base)   pidlist=$(pidof -o $$ -o $PPID $base)
207  }  }
208    
209  loadproc()  loadproc()

Legend:
Removed from v.724  
changed lines
  Added in v.1168