Lines 1-5
Link Here
|
1 |
#!/sbin/runscript |
1 |
#!/sbin/runscript |
2 |
# Copyright 1999-2007 Gentoo Foundation |
2 |
# Copyright 1999-2008 Gentoo Foundation |
3 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# Distributed under the terms of the GNU General Public License v2 |
4 |
|
4 |
|
5 |
depend() |
5 |
depend() |
Lines 22-34
Link Here
|
22 |
fi |
22 |
fi |
23 |
|
23 |
|
24 |
start_addon udev || return 1 |
24 |
start_addon udev || return 1 |
25 |
einfon "Device initiated services:${HILITE}" |
25 |
|
26 |
local svc= |
26 |
local svc= services= |
27 |
for svc in "${RC_SVCDIR}"/coldplugged/*; do |
27 |
for svc in "${RC_SVCDIR}"/coldplugged/*; do |
28 |
[ -x "${svc}" ] || continue |
28 |
[ -x "${svc}" ] && services="${services} ${svc##*/}" |
29 |
printf " ${svc##*/}" |
|
|
30 |
done |
29 |
done |
31 |
printf "\n" |
30 |
[ -n "${services}" ] && einfo "Device initiated services:${HILITE}${services}" |
|
|
31 |
|
32 |
return 0 |
32 |
return 0 |
33 |
} |
33 |
} |
34 |
|
34 |
|