Revert "Correct check for module already loaded"

This reverts commit 2e98d4375b.
This commit is contained in:
Tom Eastep 2017-08-23 08:01:25 -07:00
parent 3d322d31b7
commit 7e4dba7623
No known key found for this signature in database
GPG Key ID: 96E6B3F2423A4D10

View File

@ -274,7 +274,7 @@ loadmodule() # $1 = module name, $2 - * arguments
if [ -d /sys/module/ ]; then if [ -d /sys/module/ ]; then
if ! list_search $modulename $DONT_LOAD; then if ! list_search $modulename $DONT_LOAD; then
if [ ! -f /sys/module/$modulename ]; then if [ ! -d /sys/module/$modulename ]; then
shift shift
for suffix in $MODULE_SUFFIX ; do for suffix in $MODULE_SUFFIX ; do