diff options
Diffstat (limited to 'simple')
-rwxr-xr-x | simple/simple_load | 2 | ||||
-rwxr-xr-x | simple/simple_unload | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/simple/simple_load b/simple/simple_load index 5cd004d..a72e53c 100755 --- a/simple/simple_load +++ b/simple/simple_load @@ -12,7 +12,7 @@ fi # 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/simple/simple_unload b/simple/simple_unload index dca9421..eae8068 100755 --- a/simple/simple_unload +++ b/simple/simple_unload @@ -3,7 +3,7 @@ module="simple" device="simple" # invoke rmmod with all arguments we got -/sbin/rmmod $module $* || exit 1 +rmmod $module $* || exit 1 # Remove stale nodes rm -f /dev/${device}[rn] |