summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2011-02-10 18:21:22 -0600
committerWilliam Hubbs <williamh@gentoo.org>2011-04-30 21:46:13 -0500
commit61e233ee548967b54db3c7611efcd8171a368a55 (patch)
tree5581811241d55d23c8ef997825ea0ab6ff9cc0de
parentColdplug and hotplug are in list_services. (diff)
downloadlivecd-tools-61e233ee548967b54db3c7611efcd8171a368a55.tar.gz
livecd-tools-61e233ee548967b54db3c7611efcd8171a368a55.tar.bz2
livecd-tools-61e233ee548967b54db3c7611efcd8171a368a55.zip
use rc-service to check for existance
-rwxr-xr-xautoconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/autoconfig b/autoconfig
index a65968b..cdcb89c 100755
--- a/autoconfig
+++ b/autoconfig
@@ -458,7 +458,7 @@ start() {
# Check whether we should be using hotplug/coldplug or whether we should
# just let udev do it all.
# coldplug+hotplug would already be up due to list_services
- if [ ! -x /etc/init.d/coldplug -a ! -x /etc/init.d/hotplug ]
+ if ! rc-service -e coldplug && ! rc-service -e hotplug
then
# TODO: This needs to go to a seperate script, so that hwsetup can depend on it.
unpack_firmware