diff options
Diffstat (limited to 'package/base-files')
4 files changed, 16 insertions, 0 deletions
diff --git a/package/base-files/files/usr/sbin/7621_15d_hwnat_disable.sh b/package/base-files/files/usr/sbin/7621_15d_hwnat_disable.sh new file mode 100755 index 0000000..3837e88 --- /dev/null +++ b/package/base-files/files/usr/sbin/7621_15d_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 + diff --git a/package/base-files/files/usr/sbin/7621_15d_hwnat_enable.sh b/package/base-files/files/usr/sbin/7621_15d_hwnat_enable.sh new file mode 100755 index 0000000..c0fd623 --- /dev/null +++ b/package/base-files/files/usr/sbin/7621_15d_hwnat_enable.sh @@ -0,0 +1,4 @@ +insmod /lib/modules/ralink/hw_nat.ko +iwpriv ra0 set hw_nat_register=1 +iwpriv rax0 set hw_nat_register=1 + 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 + diff --git a/package/base-files/files/usr/sbin/hwnat-enable.sh b/package/base-files/files/usr/sbin/hwnat-enable.sh new file mode 100755 index 0000000..c0fd623 --- /dev/null +++ b/package/base-files/files/usr/sbin/hwnat-enable.sh @@ -0,0 +1,4 @@ +insmod /lib/modules/ralink/hw_nat.ko +iwpriv ra0 set hw_nat_register=1 +iwpriv rax0 set hw_nat_register=1 + |