virtualization/app-emulation/vmware-server/files/2.0.2.203138/007_all_use-modprobe-over-insmod.patch

14 lines
343 B
Diff
Raw Normal View History

diff --git a/installer/services.sh b/installer/services.sh
index 402ad79..2fb53ab 100755
--- a/installer/services.sh
+++ b/installer/services.sh
@@ -755,7 +755,7 @@ vmware_run_vimsh_cmd() {
}
vmware_load_module() {
- /sbin/insmod -s -f "/lib/modules/`uname -r`/misc/$1.o" || exit 1
+ /sbin/modprobe -s "$1" || exit 1
return 0
}