Home > OS >  Raspberry pie on the task
Raspberry pie on the task

Time:10-28

Write a script on the raspberry pie boot since the rev.
#! Bin/bash
#! Bin/sh
The source/home/PI/env/bin/activate open virtual environment
CD/home/PI/Desktop/voice_control/voice_contral
Python Main_Demo. Py
Name: voice_contral
Run on terminal by
In the rc. So I put a local file
Su PI -c exec "/home/PI/shexiangtou sh" open camera
Su PI -c exec "/home/PI/voice_contral sh"

Reboot after
No, according to the background and ps - ef view process
Only the su - PI - c "exec/home/PI/shexiangtou sh" the process
The process of voice_contral not

Would like to ask the great spirit, I now want to see after the restart voice_contral. Sh console automatically jump out to, let me know the script running
Finally can boot from the voice control
  • Related