From 01b5cf1c6be548af5cb19d2f176ff20fbd52e283 Mon Sep 17 00:00:00 2001 From: hwdsl2 Date: Mon, 8 Feb 2016 10:46:06 -0600 Subject: [PATCH] Minor improvement to ignore IPv6 errors --- vpnsetup.sh | 2 +- vpnsetup_centos.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/vpnsetup.sh b/vpnsetup.sh index 3de4020..b77b8bd 100644 --- a/vpnsetup.sh +++ b/vpnsetup.sh @@ -401,7 +401,7 @@ fi # Apply new IPTables rules /sbin/iptables-restore < /etc/iptables.rules -/sbin/ip6tables-restore < /etc/ip6tables.rules +/sbin/ip6tables-restore < /etc/ip6tables.rules >/dev/null 2>&1 # Restart services /usr/sbin/service fail2ban stop >/dev/null 2>&1 diff --git a/vpnsetup_centos.sh b/vpnsetup_centos.sh index 04b3b23..9cfe65e 100644 --- a/vpnsetup_centos.sh +++ b/vpnsetup_centos.sh @@ -439,7 +439,7 @@ fi # Apply new IPTables rules /sbin/iptables-restore < /etc/sysconfig/iptables -/sbin/ip6tables-restore < /etc/sysconfig/ip6tables +/sbin/ip6tables-restore < /etc/sysconfig/ip6tables >/dev/null 2>&1 # Restart services /sbin/service fail2ban stop >/dev/null 2>&1