Short-bus / pilomar

RaspberryPi based miniature observatory
https://shortbus.blog/
GNU General Public License v3.0
67 stars 14 forks source link

Simplify USB storage handling #60

Open Short-bus opened 7 months ago

Short-bus commented 7 months ago

The 'discmonitor' class in src/pilomardisc.py tries to find and mount USB storage if the RPi is running without the desktop being launched. If the desktop is automatically launched in the background when the RPi boots (raspi-config option) then the USB storage mounts automatically and more reliably. The code in discmonitor can therefore be simplified and more reliable if the decision is made to always have the desktop launched on startup if you want to use attached storage.