More small changes.

master
bbruns 2010-10-13 21:46:32 +00:00
parent 007cca9db5
commit 36b881204b
2 changed files with 10 additions and 8 deletions

View File

@ -586,11 +586,13 @@ if [ $IPV6 ]; then
display_c YELLOW "Loading custom IPv6 trust rules..."
. "$BASEDIR/include/ipv6_custom_trust"
fi
for i in $IPV6TRUSTED; do
if [ "$IPV6_TRUSTED" ]; then
for i in $IPV6_TRUSTED; do
echo -n "$i "
$IP6TABLES -A INPUT -s $i -j ACCEPT
$IP6TABLES -A OUTPUT -d $i -j ACCEPT
done
fi
reset_color
if [ -s "$BASEDIR/include/ipv4_custom_blockip" ]; then

View File

@ -1,7 +1,7 @@
#!/bin/bash
echo "This script converts certain aspects of old config files, such as renamed variables"
echo "to the new variable names. It is NOT foolproof, so please check your config files"
echo "afterwards."
echo "This script converts certain aspects of old config files, such
echo "as renamed variables to the new variable names. It is NOT foolproof"
echo "so please check your config files afterwards."
sed -e 's/IPV6FORWARD/IPV6_FORWARD/' \
-e 's/IPV6CONNTRACK/IPV6_CONNTRACK/' \