diff options
author | William Hubbs <williamh@gentoo.org> | 2011-02-10 18:21:22 -0600 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2011-04-30 21:46:13 -0500 |
commit | 61e233ee548967b54db3c7611efcd8171a368a55 (patch) | |
tree | 5581811241d55d23c8ef997825ea0ab6ff9cc0de | |
parent | Coldplug and hotplug are in list_services. (diff) | |
download | livecd-tools-61e233ee548967b54db3c7611efcd8171a368a55.tar.gz livecd-tools-61e233ee548967b54db3c7611efcd8171a368a55.tar.bz2 livecd-tools-61e233ee548967b54db3c7611efcd8171a368a55.zip |
use rc-service to check for existance
-rwxr-xr-x | autoconfig | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |