forked from extern/shorewall_code
Move some code to where it belongs (no external impact)
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@5878 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
d6972064f0
commit
49b8d72825
@ -1797,12 +1797,6 @@ do_initialize() {
|
||||
# Restore CONFIG_PATH if the shorewall.conf file cleared it
|
||||
#
|
||||
ensure_config_path
|
||||
#
|
||||
# Determine the capabilities of the installed iptables/netfilter
|
||||
# We load the kernel modules here to accurately determine
|
||||
# capabilities when module autoloading isn't enabled.
|
||||
#
|
||||
PKTTYPE=$(added_param_value_no PKTTYPE $PKTTYPE)
|
||||
|
||||
if [ $PROGRAM = compiler ]; then
|
||||
case "${SHOREWALL_COMPILER:=shell}" in
|
||||
@ -1832,6 +1826,13 @@ do_initialize() {
|
||||
;;
|
||||
esac
|
||||
|
||||
#
|
||||
# Determine the capabilities of the installed iptables/netfilter
|
||||
# We load the kernel modules here to accurately determine
|
||||
# capabilities when module autoloading isn't enabled.
|
||||
#
|
||||
PKTTYPE=$(added_param_value_no PKTTYPE $PKTTYPE)
|
||||
|
||||
[ -n "${MODULE_SUFFIX:=o gz ko o.gz ko.gz}" ]
|
||||
|
||||
if [ -z "$EXPORT" -a $(id -u) -eq 0 ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user