summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2011-02-11 00:06:00 +0000
committerWilliam Hubbs <williamh@gentoo.org>2011-04-30 21:46:13 -0500
commite06923f0f8cb5a96ce767f3dee0009a131471b6e (patch)
tree08cc4f10b5f381cc89e6bf7ac42d97575821c3bb
parentmigrate yes/no tests to use if yesno (diff)
downloadlivecd-tools-e06923f0f8cb5a96ce767f3dee0009a131471b6e.tar.gz
livecd-tools-e06923f0f8cb5a96ce767f3dee0009a131471b6e.tar.bz2
livecd-tools-e06923f0f8cb5a96ce767f3dee0009a131471b6e.zip
Coldplug and hotplug are in list_services.
-rwxr-xr-xautoconfig9
1 files changed, 3 insertions, 6 deletions
diff --git a/autoconfig b/autoconfig
index c05a3d1..a65968b 100755
--- a/autoconfig
+++ b/autoconfig
@@ -457,13 +457,10 @@ start() {
then
# Check whether we should be using hotplug/coldplug or whether we should
# just let udev do it all.
- if [ -x /etc/init.d/coldplug ]
+ # coldplug+hotplug would already be up due to list_services
+ if [ ! -x /etc/init.d/coldplug -a ! -x /etc/init.d/hotplug ]
then
- /etc/init.d/coldplug start
- elif [ -x /etc/init.d/hotplug ]
- then
- /etc/init.d/hotplug start
- else
+ # TODO: This needs to go to a seperate script, so that hwsetup can depend on it.
unpack_firmware
[ -x /sbin/udevtrigger ] && /sbin/udevtrigger
fi