diff options
author | Ludovic Pouzenc <ludovic@pouzenc.fr> | 2018-09-16 20:17:57 +0200 |
---|---|---|
committer | Ludovic Pouzenc <ludovic@pouzenc.fr> | 2018-09-16 20:17:57 +0200 |
commit | 85bdc5b94c8a1730d3077f361297028cfd8b9b78 (patch) | |
tree | a6835c355fde8ce9f36c808dbb9b50809d3c77f4 /package/ramips/applications/hwnat/files/hwnat | |
parent | 6e0004f572f23810c21d5fb4477d8b9347dffdbb (diff) | |
download | mtk-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/ramips/applications/hwnat/files/hwnat')
-rwxr-xr-x | package/ramips/applications/hwnat/files/hwnat | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/package/ramips/applications/hwnat/files/hwnat b/package/ramips/applications/hwnat/files/hwnat new file mode 100755 index 0000000..ce350f3 --- /dev/null +++ b/package/ramips/applications/hwnat/files/hwnat @@ -0,0 +1,18 @@ +#!/bin/sh /etc/rc.common + +START=91 +STOP=91 + +USE_PROCD=1 + +start_service() { +# insmod /lib/modules/ralink/hw_nat.ko + mknod /dev/hwnat0 c 220 0 +} + +stop_service() { +# rmmod hw_nat.ko + echo 'do nothing' > /dev/null +} + + |