diff --git a/patches/openwrt/hack/0022-uboot-tools-allow-fw_env.config-init-not-just-on-pac.patch b/patches/openwrt/hack/0022-uboot-tools-allow-fw_env.config-init-not-just-on-pac.patch
index 31ab7752a1f787c7178b0ca5f41aa046ff477b49..a8a5d935df57481295519dc0df33aa6c95e37919 100644
--- a/patches/openwrt/hack/0022-uboot-tools-allow-fw_env.config-init-not-just-on-pac.patch
+++ b/patches/openwrt/hack/0022-uboot-tools-allow-fw_env.config-init-not-just-on-pac.patch
@@ -28,7 +28,7 @@ index a9eccec0ce..10d4b1c994 100644
 -		$(INSTALL_DATA) ./files/$(BOARD) \
 -		$(1)/etc/uci-defaults/30_uboot-envtools \
 +		$(INSTALL_BIN) ./files/$(BOARD) $(1)/usr/bin/fw_env-config-init.sh && \
-+		echo '#!/bin/sh\nexec /usr/bin/fw_env-config-init.sh' \
++		echo -e '#!/bin/sh\nexec /usr/bin/fw_env-config-init.sh' \
 +			>$(1)/etc/uci-defaults/30_uboot-envtools \
  	)
  endef