开机启动脚本现在会尝试从github上更新当前分支的最新代码并编译运行。
This commit is contained in:
6
tools/create-startup.sh
Executable file
6
tools/create-startup.sh
Executable file
@@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo "#!/bin/bash" > $2/startup-run
|
||||
echo "$1/tools/auto-pull.sh" >> $2/startup-run
|
||||
echo "gnome-terminal -- bash -c \"echo sjturm | sudo -S $1/tools/monitor.sh \\\"$2/run --run-with-camera --save-video --wait-uart\\\"\"" >> $2/startup-run
|
||||
chmod +x $2/startup-run
|
||||
Reference in New Issue
Block a user