[][openwrt][mt7987][app][Update mtk_factory_rw.sh]

[Description]
Refactor mtk_factory_rw.sh for the mt7987.
- Write lan_mac  to offset 0xFFFF4(1024k - 0x0c) in Factory partition.
- Write wan_mac  to offset 0xFFFFA(1024k - 0x06) in Factory partition.
- Write lan2_mac to offset 0xFFFEE(1024k - 0x12) in Factory partition.

[Release-log]
N/A


Change-Id: Id30661d584eb60998b5a6fffc0dc75e9d9576efc
Reviewed-on: https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/9551671
diff --git a/feed/app/mtk_factory_rw/files/mtk_factory_rw.sh b/feed/app/mtk_factory_rw/files/mtk_factory_rw.sh
index 3124088..22c0a7c 100755
--- a/feed/app/mtk_factory_rw/files/mtk_factory_rw.sh
+++ b/feed/app/mtk_factory_rw/files/mtk_factory_rw.sh
@@ -46,7 +46,7 @@
 		lan_mac_offset=0x1F800
 		wan_mac_offset=0x1F806
 		;;
-	*7988*)
+	*7987*|*7988*)
 		#1024k - 18 byte
 		lan2_mac_offset=0xFFFEE
 		lan_mac_offset=0xFFFF4