S03ipv6 201 B

12345678910
  1. #!/bin/sh
  2. source /opt/wz_mini/wz_mini.conf
  3. if [[ "$ENABLE_IPV6" == "true" ]]; then
  4. echo "ipv6 enabled"
  5. else
  6. echo "ipv6 disabled"
  7. sysctl -w net.ipv6.conf.all.disable_ipv6=1
  8. fi