Commit 45914017 authored by Dorian Zedler's avatar Dorian Zedler

minor changes

parent 29c533f1
...@@ -95,12 +95,14 @@ doScStwUpdate ...@@ -95,12 +95,14 @@ doScStwUpdate
sudo LD_LIBRARY_PATH=./bin/lib ./bin/ScStwBasestation sudo LD_LIBRARY_PATH=./bin/lib ./bin/ScStwBasestation
``` ```
- Create the file /home/pi/StartScStw.sh with content: - Create the file /home/pi/StartScStw.sh with content:
``` ```
#!/bin/bash #!/bin/bash
sudo /home/pi/ScStwBasestation/start.sh & sudo /home/pi/ScStwBasestation/start.sh &
sudo xinit /home/pi/ScStwMonitor/start.sh & sudo xinit /home/pi/ScStwMonitor/start.sh &
``` ```
- Create the file /home/pi/ScStwMonitor/bin/start.sh with content: - Create the file /home/pi/ScStwMonitor/bin/start.sh with content:
``` ```
#!/bin/bash #!/bin/bash
...@@ -114,10 +116,12 @@ sudo xset s noblank ...@@ -114,10 +116,12 @@ sudo xset s noblank
./bin/ScStwMonitor -platform xcb ./bin/ScStwMonitor -platform xcb
``` ```
- Add to /etc/rc.local to auto start everything: - Add to /etc/rc.local to auto start everything:
``` ```
sudo /home/pi/StartScStw.sh sudo /home/pi/StartScStw.sh
``` ```
- \[optional\] configure custom splash screen as explained [here](https://www.raspberrypi.org/forums/viewtopic.php?t=231288) - \[optional\] configure custom splash screen as explained [here](https://www.raspberrypi.org/forums/viewtopic.php?t=231288)
- note: append 'fbcon=map:2' to the end of /boot/cmdline.txt - note: append 'fbcon=map:2' to the end of /boot/cmdline.txt
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment