More small changes.

Cette révision appartient à :
bbruns 2010-10-13 21:46:32 +00:00
Parent 007cca9db5
révision 36b881204b
2 fichiers modifiés avec 10 ajouts et 8 suppressions

Voir le fichier

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

Voir le fichier

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