1 |
commit: 61e233ee548967b54db3c7611efcd8171a368a55 |
2 |
Author: William Hubbs <williamh <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Feb 11 00:21:22 2011 +0000 |
4 |
Commit: William Hubbs <williamh <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun May 1 02:46:13 2011 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/livecd-tools.git;a=commit;h=61e233ee |
7 |
|
8 |
use rc-service to check for existance |
9 |
|
10 |
--- |
11 |
autoconfig | 2 +- |
12 |
1 files changed, 1 insertions(+), 1 deletions(-) |
13 |
|
14 |
diff --git a/autoconfig b/autoconfig |
15 |
index a65968b..cdcb89c 100755 |
16 |
--- a/autoconfig |
17 |
+++ b/autoconfig |
18 |
@@ -458,7 +458,7 @@ start() { |
19 |
# Check whether we should be using hotplug/coldplug or whether we should |
20 |
# just let udev do it all. |
21 |
# coldplug+hotplug would already be up due to list_services |
22 |
- if [ ! -x /etc/init.d/coldplug -a ! -x /etc/init.d/hotplug ] |
23 |
+ if ! rc-service -e coldplug && ! rc-service -e hotplug |
24 |
then |
25 |
# TODO: This needs to go to a seperate script, so that hwsetup can depend on it. |
26 |
unpack_firmware |