mirror of
https://github.com/aircrack-ng/rtl8812au.git
synced 2024-11-26 07:04:12 +00:00
Added a switch to IPv6 disable/enable
This commit is contained in:
parent
aaef1baf31
commit
3b3346ab37
1
Makefile
1
Makefile
@ -45,6 +45,7 @@ CONFIG_RTL8814A = y
|
|||||||
CONFIG_USB_HCI = y
|
CONFIG_USB_HCI = y
|
||||||
########################## Features ###########################
|
########################## Features ###########################
|
||||||
CONFIG_NET_NS = n
|
CONFIG_NET_NS = n
|
||||||
|
CONFIG_IPV6_DISABLE = n
|
||||||
CONFIG_MP_INCLUDED = y
|
CONFIG_MP_INCLUDED = y
|
||||||
CONFIG_CONCURRENT_MODE = n
|
CONFIG_CONCURRENT_MODE = n
|
||||||
CONFIG_POWER_SAVING = n
|
CONFIG_POWER_SAVING = n
|
||||||
|
@ -20,7 +20,7 @@ RESULT=$?
|
|||||||
|
|
||||||
echo "Finished running dkms install steps."
|
echo "Finished running dkms install steps."
|
||||||
|
|
||||||
|
if defined(CONFIG_DISABLE_IPV6)
|
||||||
if echo "net.ipv6.conf.all.disable_ipv6 = 1
|
if echo "net.ipv6.conf.all.disable_ipv6 = 1
|
||||||
net.ipv6.conf.default.disable_ipv6 = 1
|
net.ipv6.conf.default.disable_ipv6 = 1
|
||||||
net.ipv6.conf.lo.disable_ipv6 = 1" >> /etc/sysctl.conf; then
|
net.ipv6.conf.lo.disable_ipv6 = 1" >> /etc/sysctl.conf; then
|
||||||
@ -29,6 +29,6 @@ echo "Finished running dkms install steps."
|
|||||||
else
|
else
|
||||||
echo "Could not disable IPv6"
|
echo "Could not disable IPv6"
|
||||||
fi
|
fi
|
||||||
|
endif
|
||||||
|
|
||||||
exit $RESULT
|
exit $RESULT
|
||||||
|
Loading…
Reference in New Issue
Block a user