mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
Merge branch 'master' into temp-c165-development
This commit is contained in:
@@ -100,9 +100,13 @@ ldconfig
|
||||
# Run convert script for IDS multiple providers
|
||||
/usr/sbin/convert-ids-multiple-providers
|
||||
|
||||
# Add missing configuration settings to optionsfw configuration
|
||||
echo "DROPHOSTILE=off" > /var/ipfire/optionsfw/settings
|
||||
echo "DROPSPOOFEDMARTIAN=on" > /var/ipfire/optionsfw/settings
|
||||
# Add configuration settings to optionsfw if they are missing
|
||||
if [ "$(grep "^DROPHOSTILE" /var/ipfire/optionsfw/settings)" == "" ]; then
|
||||
echo "DROPHOSTILE=off" >> /var/ipfire/optionsfw/settings
|
||||
fi
|
||||
if [ "$(grep "^DROPSPOOFEDMARTIAN" /var/ipfire/optionsfw/settings)" == "" ]; then
|
||||
echo "DROPSPOOFEDMARTIAN=on" >> /var/ipfire/optionsfw/settings
|
||||
fi
|
||||
|
||||
# Apply sysctl changes
|
||||
/etc/init.d/sysctl start
|
||||
|
||||
Reference in New Issue
Block a user