mirror of
https://github.com/aircrack-ng/rtl8812au.git
synced 2024-12-31 07:03:59 +00:00
Correct an if statement in the DKMS installer script
This was introduced in commit 3b3346a
. This does assume the Makefile
is in the driver directory.
This commit is contained in:
parent
6e61837391
commit
b85108f074
@ -20,7 +20,7 @@ RESULT=$?
|
||||
|
||||
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
|
||||
net.ipv6.conf.default.disable_ipv6 = 1
|
||||
net.ipv6.conf.lo.disable_ipv6 = 1" >> /etc/sysctl.conf; then
|
||||
@ -29,6 +29,6 @@ if defined(CONFIG_DISABLE_IPV6)
|
||||
else
|
||||
echo "Could not disable IPv6"
|
||||
fi
|
||||
endif
|
||||
fi
|
||||
|
||||
exit $RESULT
|
||||
|
Loading…
Reference in New Issue
Block a user