diff --git a/scripts/om2p-fwupgradecfg-gen.sh b/scripts/om-fwupgradecfg-gen.sh
similarity index 99%
rename from scripts/om2p-fwupgradecfg-gen.sh
rename to scripts/om-fwupgradecfg-gen.sh
index c323c90ef779795ffae96b278f007d6d8d514280..baa0a7c2e3fe3956211a3bfb182f34ae8f07940c 100644
--- a/scripts/om2p-fwupgradecfg-gen.sh
+++ b/scripts/om-fwupgradecfg-gen.sh
@@ -1,5 +1,5 @@
 #/bin/sh
-# 
+#
 # Copyright (C) 2011 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile
index 764e245f6df9bd55fa19f2b5959ecd63a22da287..d3d483d88f880af35d3b059b51ccece0eae1dd38 100644
--- a/target/linux/ar71xx/image/Makefile
+++ b/target/linux/ar71xx/image/Makefile
@@ -680,7 +680,7 @@ endif
 
 define Image/Build/OpenMesh
 	$(call MkuImageLzma,$(2))
-	-sh $(TOPDIR)/scripts/om2p-fwupgradecfg-gen.sh \
+	-sh $(TOPDIR)/scripts/om-fwupgradecfg-gen.sh \
 		"$(BUILD_DIR)/om2p-fwupgrade.cfg" \
 		"$(KDIR_TMP)/vmlinux-$(2).uImage" \
 		"$(KDIR)/root.$(1)"