summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2011-02-10 18:21:22 -0600
committerWilliam Hubbs <williamh@gentoo.org>2011-02-10 18:21:22 -0600
commit542d90e3f52464cbf0f28eadb96e4f29fbbb3d91 (patch)
treec366dfa51cda7f19c33d693defe2ee8eca186428 /autoconfig
parentColdplug and hotplug are in list_services. (diff)
downloadlivecd-tools-542d90e3f52464cbf0f28eadb96e4f29fbbb3d91.tar.gz
livecd-tools-542d90e3f52464cbf0f28eadb96e4f29fbbb3d91.tar.bz2
livecd-tools-542d90e3f52464cbf0f28eadb96e4f29fbbb3d91.zip
use rc-service to check for existance
Diffstat (limited to 'autoconfig')
-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