1. chmod 777 /etc/rc.local
2. 更改内容:
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
cd /home/orangepi/5GZS01/projects/TL-5GZS01/
sudo ./TL_5GS01_Local
exit 0
3. sudo chmod +x /etc
4. sudo systemctl enable rc-local
5. sudo systemctl start rc-local.service
6. sudo systemctl status rc-local.service
7. sudo reboot