From e5126ae2d9a71a979fbed459b20c481fcef1f1ef Mon Sep 17 00:00:00 2001 From: Tanner Collin Date: Sun, 16 Oct 2022 17:10:06 -0600 Subject: [PATCH] Add more to README --- README.md | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index da370e1..77a47b9 100644 --- a/README.md +++ b/README.md @@ -184,8 +184,27 @@ $ source env/bin/activate (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 +``` + +Edit `/etc/passwd`: + +``` +protospace:x:1001:1001:,,,:/home/protospace:/home/tanner/protovac/main.py +``` + +Restart: + +``` sudo systemctl daemon-reload sudo systemctl restart serial-getty@ttyS0.service - +```