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; } |
141 |
print_status success |
print_status success |
142 |
else |
else |
143 |
print_status failure |
print_status failure |
144 |
|
|
145 |
|
if [[ ${SPLASH_VERBOSE_ON_ERRORS} = 1 ]] |
146 |
|
then |
147 |
|
splash "rc_verbose" "${runlevel}" |
148 |
|
fi |
149 |
fi |
fi |
150 |
|
|
151 |
return ${error_value} |
return ${error_value} |
203 |
|
|
204 |
getpids() |
getpids() |
205 |
{ |
{ |
206 |
base=${1##*/} |
local base=${1##*/} |
207 |
pidlist=$(pidof -o $$ -o $PPID -x $base) |
local opts |
208 |
|
if [[ $(readlink /bin/pidof) = *busybox ]] |
209 |
|
then |
210 |
|
opts="" |
211 |
|
else |
212 |
|
opts="-x" |
213 |
|
fi |
214 |
|
pidlist=$(pidof -o $$ -o $PPID ${opts} $base) |
215 |
} |
} |
216 |
|
|
217 |
loadproc() |
loadproc() |