summaryrefslogtreecommitdiff
path: root/package/base-files/files/usr/sbin/hwnat-disable.sh
diff options
context:
space:
mode:
authorLudovic Pouzenc <ludovic@pouzenc.fr>2018-09-16 20:17:57 +0200
committerLudovic Pouzenc <ludovic@pouzenc.fr>2018-09-16 20:17:57 +0200
commit85bdc5b94c8a1730d3077f361297028cfd8b9b78 (patch)
treea6835c355fde8ce9f36c808dbb9b50809d3c77f4 /package/base-files/files/usr/sbin/hwnat-disable.sh
parent6e0004f572f23810c21d5fb4477d8b9347dffdbb (diff)
downloadmtk-20170518-mtk-20170518.zip
mtk-20170518-mtk-20170518.tar.gz
mtk-20170518-mtk-20170518.tar.bz2
MTK mt76 hwnat implementationHEADmtk-20170518
Diffstat (limited to 'package/base-files/files/usr/sbin/hwnat-disable.sh')
-rwxr-xr-xpackage/base-files/files/usr/sbin/hwnat-disable.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/base-files/files/usr/sbin/hwnat-disable.sh b/package/base-files/files/usr/sbin/hwnat-disable.sh
new file mode 100755
index 0000000..3837e88
--- /dev/null
+++ b/package/base-files/files/usr/sbin/hwnat-disable.sh
@@ -0,0 +1,4 @@
+iwpriv ra0 set hw_nat_register=0
+iwpriv rax0 set hw_nat_register=0
+rmmod hw_nat.ko
+