diff options
Diffstat (limited to 'scullp')
-rwxr-xr-x | scullp/scullp_load | 2 | ||||
-rwxr-xr-x | scullp/scullp_unload | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/scullp/scullp_load b/scullp/scullp_load index d7dc1ef..ae95a91 100755 --- a/scullp/scullp_load +++ b/scullp/scullp_load @@ -15,7 +15,7 @@ rm -f /dev/${device}? # invoke insmod with all arguments we got # and use a pathname, as newer modutils don't look in . by default -/sbin/insmod -f ./$module.ko $* || exit 1 +insmod ./$module.ko $* || exit 1 major=`cat /proc/devices | awk "\\$2==\"$module\" {print \\$1}"` diff --git a/scullp/scullp_unload b/scullp/scullp_unload index adf5e2c..9b6a5d2 100755 --- a/scullp/scullp_unload +++ b/scullp/scullp_unload @@ -3,7 +3,7 @@ module="scullp" device="scullp" # invoke rmmod with all arguments we got -/sbin/rmmod $module $* || exit 1 +rmmod $module $* || exit 1 # remove nodes rm -f /dev/${device}[0-3] /dev/${device} |