From 95515e4037a5be28258805bd443236993c7b9ba2 Mon Sep 17 00:00:00 2001
From: Signor Pellegrino <68112357+FlyRouter@users.noreply.github.com>
Date: Wed, 8 Nov 2023 12:23:12 +0300
Subject: [PATCH] Update majestic-streamer.md

---
 en/majestic-streamer.md | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/en/majestic-streamer.md b/en/majestic-streamer.md
index 3c53128..0b416a3 100644
--- a/en/majestic-streamer.md
+++ b/en/majestic-streamer.md
@@ -50,9 +50,7 @@ To test the motion detection, create a simple script that echoes the parameters
 
 ```
 mkdir -p /usr/share/openipc
-echo "#!/bin/sh
-echo [$0] [$1] [$2] [$3] [$4] [$5]
-" > /usr/share/openipc/motion_detect.sh
+echo -e "#!/bin/sh\n\necho [\$0] [\$1] [\$2] [\$3] [\$4] [\$5]\n" > /usr/share/openipc/motion_detect.sh
 ```
 
 Enable motion detection in `majestic` configuration: