summaryrefslogtreecommitdiff
path: root/hook-functions
diff options
context:
space:
mode:
Diffstat (limited to 'hook-functions')
-rw-r--r--hook-functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/hook-functions b/hook-functions
index 189ad78..60bc2e9 100644
--- a/hook-functions
+++ b/hook-functions
@@ -218,7 +218,7 @@ sys_walk_mod_add()
while [ "${device_path}" != "/sys" ]; do
sys_walk_modalias ${device_path}
- driver_path="$(readlink -f ${device_path}/driver)"
+ driver_path="$(readlink -f ${device_path}/driver/module)"
if [ -e "$driver_path" ]; then
module="$(basename $(readlink -f $driver_path))"
if [ -n "${module}" ]; then