mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-24 15:18:53 +01:00
Revert "Correct check for module already loaded"
This reverts commit 2e98d4375b
.
This commit is contained in:
parent
3d322d31b7
commit
7e4dba7623
@ -274,7 +274,7 @@ loadmodule() # $1 = module name, $2 - * arguments
|
||||
|
||||
if [ -d /sys/module/ ]; then
|
||||
if ! list_search $modulename $DONT_LOAD; then
|
||||
if [ ! -f /sys/module/$modulename ]; then
|
||||
if [ ! -d /sys/module/$modulename ]; then
|
||||
shift
|
||||
|
||||
for suffix in $MODULE_SUFFIX ; do
|
||||
|
Loading…
Reference in New Issue
Block a user