From e0d242989d3ceb6cf8747c07d916e0fa854a810c Mon Sep 17 00:00:00 2001 From: Martin Michlmayr Date: Thu, 7 Aug 2008 22:45:40 +0300 Subject: MODULES=dep fix for Orion Thanks to Kevin Price who sent me logs from the NSLU2, I know why it works there. The difference is that on the NSLU2 USB is a PCI device whereas on my Orion machine it's not. (closes: #494027) --- hook-functions | 1 + 1 file changed, 1 insertion(+) diff --git a/hook-functions b/hook-functions index 01f33c4..7d2e6da 100644 --- a/hook-functions +++ b/hook-functions @@ -189,6 +189,7 @@ sys_walk_mod_add() device_path="$1" while [ "${device_path}" != "/sys" ]; do + sys_walk_modalias ${device_path} driver_path="$(readlink -f ${device_path}/driver)" if [ -e "$driver_path" ]; then module="$(basename $(readlink -f $driver_path))" -- cgit v1.2.3