Option to disable IPv6 (#986)

This commit is contained in:
tteckster 2023-01-26 03:55:42 -05:00 committed by GitHub
parent 61df2ea119
commit 6964f82b4d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
160 changed files with 889 additions and 22 deletions

View file

@ -1,5 +1,6 @@
#!/usr/bin/env bash
if [ "$VERBOSE" == "yes" ]; then set -x; fi
if [ "$DISABLEIPV6" == "yes" ]; then echo "net.ipv6.conf.all.disable_ipv6 = 1" >>/etc/sysctl.conf; fi
#https://community.ui.com/questions/UniFi-Installation-Scripts-or-UniFi-Easy-Update-Script-or-UniFi-Lets-Encrypt-or-UniFi-Easy-Encrypt-/ccbc7530-dd61-40a7-82ec-22b17f027776
YW=$(echo "\033[33m")
RD=$(echo "\033[01;31m")