1
0
mirror of https://github.com/aircrack-ng/rtl8812au.git synced 2024-11-23 05:44:40 +00:00

Merge pull request #322 from Hurricos/v5.3.4

Fix a check for IPv6 disbling in dkms installer
This commit is contained in:
Christian Bremvåg 2019-04-13 18:53:28 +02:00 committed by GitHub
commit ac73f3f301
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,6 +7,7 @@ else
echo "About to run dkms install steps..." echo "About to run dkms install steps..."
fi fi
DRV_DIR=`pwd` DRV_DIR=`pwd`
DRV_NAME=rtl8812au DRV_NAME=rtl8812au
DRV_VERSION=5.3.4 DRV_VERSION=5.3.4
@ -20,7 +21,7 @@ RESULT=$?
echo "Finished running dkms install steps." echo "Finished running dkms install steps."
if defined(CONFIG_DISABLE_IPV6) if grep -q -e "^CONFIG_DISABLE_IPV6 = y$" "$DRV_DIR/Makefile" ; then
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 +30,6 @@ if defined(CONFIG_DISABLE_IPV6)
else else
echo "Could not disable IPv6" echo "Could not disable IPv6"
fi fi
endif fi
exit $RESULT exit $RESULT