diff --git a/script/install.sh b/script/install.sh
index 6ce1bac59ab8d0f49f0c7f7212e3ee271dec02f2..d91e68d7cbb9b6b45444516037fa8e36a57e3734 100755
--- a/script/install.sh
+++ b/script/install.sh
@@ -56,7 +56,7 @@ echo "EtherCAT installer - Kernel: $KERNEL"
 # Update module dependencies
 
 echo "  Building module dependencies"
-depmod
+/sbin/depmod
 
 #------------------------------------------------------------------------------