From c9db935e17fe510aa8786574e43f6fca970d4b6f Mon Sep 17 00:00:00 2001 From: Maxime Vincent Date: Wed, 5 Jul 2023 19:59:26 +0200 Subject: [PATCH] Update README.md Simplify "Run at boot" instructions --- README.md | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 6d780b9..9cfb534 100644 --- a/README.md +++ b/README.md @@ -189,7 +189,7 @@ Press ctrl+c to exit run.py The run.sh script that is loaded by simpleLCD.service will re-run run.py on firmware restarts of the printe. If it fails to start for 5 times within 30 second it will exit and stop until the net boot. ```bash -sudo chmod +x run.sh simpleLCD.service +chmod 664 run.sh simpleLCD.service ``` ```bash @@ -201,11 +201,7 @@ sudo chmod 644 /lib/systemd/system/simpleLCD.service ``` ```bash -sudo systemctl daemon-reload && sudo systemctl enable simpleLCD.service -``` - -```bash -sudo reboot +sudo systemctl enable simpleLCD.service && sudo systemctl start simpleLCD.service ``` Your LCD should start after 30 seconds. And when you restart your printer firmware the LCD should restart as well.