mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-21 10:18:58 +02:00
Correct DONT_LOAD
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
ab1fac3fc6
commit
8fe6425690
@ -226,6 +226,7 @@ loadmodule() # $1 = module name, $2 - * arguments
|
|||||||
local suffix
|
local suffix
|
||||||
|
|
||||||
if [ -d /sys/module/ ]; then
|
if [ -d /sys/module/ ]; then
|
||||||
|
if ! list_search $modulename $DONT_LOAD; then
|
||||||
if [ ! -d /sys/module/$modulename ]; then
|
if [ ! -d /sys/module/$modulename ]; then
|
||||||
shift
|
shift
|
||||||
|
|
||||||
@ -247,6 +248,7 @@ loadmodule() # $1 = module name, $2 - * arguments
|
|||||||
done
|
done
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
elif ! list_search $modulename $DONT_LOAD $MODULES; then
|
elif ! list_search $modulename $DONT_LOAD $MODULES; then
|
||||||
shift
|
shift
|
||||||
|
|
||||||
|
@ -248,6 +248,7 @@ loadmodule() # $1 = module name, $2 - * arguments
|
|||||||
local suffix
|
local suffix
|
||||||
|
|
||||||
if [ -d /sys/module/ ]; then
|
if [ -d /sys/module/ ]; then
|
||||||
|
if ! list_search $modulename $DONT_LOAD; then
|
||||||
if [ ! -d /sys/module/$modulename ]; then
|
if [ ! -d /sys/module/$modulename ]; then
|
||||||
shift
|
shift
|
||||||
|
|
||||||
@ -269,6 +270,7 @@ loadmodule() # $1 = module name, $2 - * arguments
|
|||||||
done
|
done
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
elif ! list_search $modulename $MODULES $DONT_LOAD ; then
|
elif ! list_search $modulename $MODULES $DONT_LOAD ; then
|
||||||
shift
|
shift
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user