Update garage.md

This commit is contained in:
2020-08-04 20:45:11 +00:00
parent bb7c56c649
commit 52f5783274
+11 -7
View File
@@ -1,4 +1,5 @@
```
## Installation
```bash
sudo raspi-config
sudo apt update
sudo apt upgrade
@@ -21,12 +22,15 @@ gpio unexportall
```
## Autostart
`sudo nano /etc/rc.local`
```
su pi -c 'python3 /home/pi/piplayer2.py >> /home/pi/piplayer2.log 2>&1 &'
```bash
sudo nano /etc/rc.local
```
`su pi -c 'python3 /home/pi/piplayer2.py >> /home/pi/piplayer2.log 2>&1 &'`
```
[...]
su pi -c 'python3 /home/pi/garage.py >> /home/pi/garage.log 2>&1 &'
exit 0
```