diff options
author | Jeremy Katz <katzj@redhat.com> | 2002-03-07 21:36:35 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2002-03-07 21:36:35 +0000 |
commit | e0e0c092d897035e2021137180b1da59b2776617 (patch) | |
tree | ed34cf7c7c63c86d7d51292c69e8c6db537ce04d | |
parent | 1979c433bd2a1c44aa0549580436178cc62f26c6 (diff) | |
download | anaconda-e0e0c092d897035e2021137180b1da59b2776617.tar.gz anaconda-e0e0c092d897035e2021137180b1da59b2776617.tar.xz anaconda-e0e0c092d897035e2021137180b1da59b2776617.zip |
don't try to load usb mouse if we don't have a /proc/bus/usb/devices (#60365)
-rw-r--r-- | loader/loader.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/loader/loader.c b/loader/loader.c index 6781a298e..8371092ae 100644 --- a/loader/loader.c +++ b/loader/loader.c @@ -2915,6 +2915,8 @@ static void usbInitializeMouse(moduleList modLoaded, moduleDeps modDeps, #else if (FL_NOUSB(flags)) return; + if (access("/proc/bus/usb/devices", R_OK)) return; + logMessage("looking for USB mouse..."); if (probeDevices(CLASS_MOUSE, BUS_USB, PROBE_ALL)) { logMessage("USB mouse found, loading mousedev module"); |