Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2
mol
mol.insmod.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mol.insmod.patch of Package mol
kernel-default already contains mol.ko, dont look in odd places for the kernel modules scripts/modload | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-) Index: mol-0.9.70/scripts/modload =================================================================== --- mol-0.9.70.orig/scripts/modload +++ mol-0.9.70/scripts/modload @@ -101,11 +101,10 @@ function get_mod_name () { ################################################### function load_mol_module () { - MOL_MOD=`get_mod_name mol` || exit $? echo -e "Loading Mac-on-Linux kernel module:\n $MOL_MOD" - /sbin/insmod -f $MOL_MOD || { + /sbin/modprobe -v mol || { echo "====================================================================" echo " Failed to load the module - try recompiling the MOL kernel" echo " module. Instructions (and information about common problems)" @@ -114,6 +113,8 @@ function load_mol_module () { echo exit 1 } + # give udev a little time to react + sleep 1 return 0 } @@ -123,10 +124,11 @@ function load_mol_module () { ################################################### function load_mod () { - MOD=`get_mod_name $1` || return $? echo -e "Loading" $2 "kernel module:\n $MOD" - /sbin/insmod -f $MOD + /sbin/modprobe -v $1 + # give udev a little time to react + sleep 1 }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor