更新监视脚本绑定方式。

This commit is contained in:
xinyang
2019-05-07 23:25:34 +08:00
parent bd52fc33fc
commit 9b3178753f
3 changed files with 64 additions and 61 deletions

View File

@@ -1,4 +1,5 @@
#!/bin/bash
echo "$1/tools/monitor.sh \"$2/run --run-with-camera\" &" > $2/monitor-run
echo "#!/bin/bash" > $2/monitor-run
echo "$1/tools/monitor.sh \"$2/run --run-with-camera\"" >> $2/monitor-run
chmod +x $2/monitor-run