summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoy Marples <uberlord@gentoo.org>2006-08-24 09:00:04 +0000
committerRoy Marples <uberlord@gentoo.org>2006-08-24 09:00:04 +0000
commit1c3924374046114d5f5321630c89a86e4122d9d8 (patch)
tree36f8d045598cb7552a0e873bfef95c6ebd5e8c5f
parentIf /etc/conf.d/rc-extra exists, source it at the top of `rc` so users can inj... (diff)
downloadbaselayout-1c3924374046114d5f5321630c89a86e4122d9d8.tar.gz
baselayout-1c3924374046114d5f5321630c89a86e4122d9d8.tar.bz2
baselayout-1c3924374046114d5f5321630c89a86e4122d9d8.zip
Only report device initiated services if we really have any
svn path=/branches/baselayout-1_12/; revision=2211
-rwxr-xr-xsbin/rc4
1 files changed, 3 insertions, 1 deletions
diff --git a/sbin/rc b/sbin/rc
index 2619998c..31b9843e 100755
--- a/sbin/rc
+++ b/sbin/rc
@@ -694,7 +694,9 @@ else
mark_service_coldplugged "${x}"
fi
done
- einfo "Device initiated services:${HILITE}${myscripts}${NORMAL}"
+ if [[ -n ${myscripts} ]] ; then
+ einfo "Device initiated services:${HILITE}${myscripts}${NORMAL}"
+ fi
rm -rf /dev/.rcboot
fi
fi