Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Simplify "Run at boot" instructions
  • Loading branch information
maximevince authored Jul 5, 2023
1 parent 18f677f commit c9db935
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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.
Expand Down

0 comments on commit c9db935

Please sign in to comment.