1
1
mirror of https://github.com/OpenVoiceOS/OpenVoiceOS synced 2025-02-13 10:20:38 +01:00
Bohdan Buinich 736bfebe31 [RPI] Refactor Raspberry Pi Setup Script for Improved Structure and Readability
- Encapsulated functionality into functions for better script organization.
- Introduced 'write_os_release' and 'write_machine_info' functions for creating os-release and machine-info files.
- Streamlined Raspberry Pi specific file handling with 'handle_raspberry_pi' function.
- Consolidated script execution within a 'main' function for clearer flow and execution order.
- Improved readability with consistent formatting and added inline comments for clarity.
- Enhanced robustness with comprehensive error checking and streamlined command execution.
- RPI5 not supported yet.
2024-01-12 14:50:44 +02:00
..