Add more to README
This commit is contained in:
parent
a57e563f8c
commit
e5126ae2d9
21
README.md
21
README.md
|
@ -184,8 +184,27 @@ $ source env/bin/activate
|
||||||
(env) $ python main.py
|
(env) $ python main.py
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Append to `/boot/config.txt`:
|
||||||
|
|
||||||
|
```
|
||||||
|
enable_uart=1
|
||||||
|
```
|
||||||
|
|
||||||
|
Edit `/lib/systemd/system/serial-getty@.service`:
|
||||||
|
|
||||||
|
```
|
||||||
ExecStart=-/sbin/agetty --autologin protospace 9600 %I mt70
|
ExecStart=-/sbin/agetty --autologin protospace 9600 %I mt70
|
||||||
|
```
|
||||||
|
|
||||||
|
Edit `/etc/passwd`:
|
||||||
|
|
||||||
|
```
|
||||||
|
protospace:x:1001:1001:,,,:/home/protospace:/home/tanner/protovac/main.py
|
||||||
|
```
|
||||||
|
|
||||||
|
Restart:
|
||||||
|
|
||||||
|
```
|
||||||
sudo systemctl daemon-reload
|
sudo systemctl daemon-reload
|
||||||
sudo systemctl restart serial-getty@ttyS0.service
|
sudo systemctl restart serial-getty@ttyS0.service
|
||||||
|
```
|
||||||
|
|
Loading…
Reference in New Issue
Block a user