diff options
Diffstat (limited to 'short')
-rw-r--r-- | short/short_load | 2 | ||||
-rw-r--r-- | short/short_unload | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/short/short_load b/short/short_load index 407846c..7d18317 100644 --- a/short/short_load +++ b/short/short_load @@ -13,7 +13,7 @@ fi # invoke insmod with all arguments we got # and use a pathname, as newer modutils don't look in . by default -/sbin/insmod ./$module.ko $* || exit 1 +insmod ./$module.ko $* || exit 1 major=`cat /proc/devices | awk "\\$2==\"$module\" {print \\$1}"` diff --git a/short/short_unload b/short/short_unload index 7cf64dc..db6b36a 100644 --- a/short/short_unload +++ b/short/short_unload @@ -3,7 +3,7 @@ module="short" device="short" # invoke rmmod with all arguments we got -/sbin/rmmod $module $* || exit 1 +rmmod $module $* || exit 1 # Remove stale nodes |