#!/usr/bin/env bash{l_output=""!grep-Pqs--'^\h*0\b'/sys/module/ipv6/parameters/disable&&l_output="- IPv6 is not enabled"ifsysctlnet.ipv6.conf.all.disable_ipv6|grep-Pqs--"^\h*net\.ipv6\.conf\.all\.disable_ipv6\h*=\h*1\b"&&\sysctlnet.ipv6.conf.default.disable_ipv6|grep-Pqs--"^\h*net\.ipv6\.conf\.default\.disable_ipv6\h*=\h*1\b";thenl_output="- IPv6 is not enabled"fi[-z"$l_output"]&&l_output="- IPv6 is enabled"echo-e"\n$l_output\n"}