오렌지파이 제로
Orangepi zero
부팅시 자동실행
vi /etc/rc.local
rc.local 파일에 실행될 명령 또는 자동 실행시킬 파일 경로를 지정해줌
filename.sh ~.sh파일 수동실행 --> sh filename.sh














*주의 이때 자동실행되는 파일 내부의 경로들은 절대경로로 해야한다.


  1 #!/bin/sh -e 
  2 #
  3 # rc.local
  4 #
  5 # This script is executed at the end of each multiuser runlevel.
  6 # Make sure that the script will "exit 0" on success or any other
  7 # value on error.
  8 #
  9 # In order to enable or disable this script just change the execution
 10 # bits.
 11 #
 12 # By default this script does nothing.
 13 여기에 실행할 파일이나 명령을 작성!
 14
 15 exit 0

==================
************************************

==================
************************************

댓글 없음:

댓글 쓰기