summaryrefslogtreecommitdiffstats
path: root/etc/rc.d/faith
diff options
context:
space:
mode:
Diffstat (limited to 'etc/rc.d/faith')
-rwxr-xr-xetc/rc.d/faith4
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/rc.d/faith b/etc/rc.d/faith
index 020b947..e48fff7 100755
--- a/etc/rc.d/faith
+++ b/etc/rc.d/faith
@@ -15,6 +15,8 @@ stop_cmd="faith_down"
faith_up()
{
+ afexists inet6 || return 0
+
case ${ipv6_faith_prefix} in
[Nn][Oo] | '')
;;
@@ -48,6 +50,8 @@ faith_up()
faith_down()
{
+ afexists inet6 || return 0
+
echo "Removing IPv6-to-IPv4 TCP relay capturing interface: faith0."
ifconfig faith0 destroy
${SYSCTL_W} net.inet6.ip6.keepfaith=0
OpenPOWER on IntegriCloud