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 |
|
|
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; } |
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() |