#! /bin/sh
# /home/scripts_shell/create_zipped_firmware.sh

sudo rm -f /home/firmware/AQCM05_firmware.zip

#zip -r
#home/firmware/AQCM05_firmware.zip
#/usr/share/fonts/truetype/*.ttf
#/etc/apache2/apache2.conf
#/etc/php/8.1/apache2/php.ini
#/etc/ssh/sshd_config
#/etc/rc.local
#/var/spool/cron/crontabs/root
#/home/boot_restore/AQCM05_boot_defaults.ini
#/home/boot_restore/AQCM05_defaults.ini
#/home/boot_restore/AQCM05_boot_db.sql
#/home/boot_restore/AQCM05_boot_factory.zip
#/home/scripts_powerdown
#/home/scripts_python
#/home/scripts_python_SPL
#/home/scripts_python_tests_capteurs
#/home/scripts_python_SHT85
#/home/scripts_shell
#/home/scripts_shell_SPL
#/etc/systemd/system/AQCM05*
#/etc/systemd/system/autoreg*
#/etc/systemd/system/scan_wifi_networks*
#/etc/systemd/system/SGP40*
#/etc/systemd/system/SGP41*
#/etc/systemd/system/SPL*
#/etc/systemd/system/UDP*
#/etc/systemd/system/update_remote_live*
#/var/www/html/*.php
#/var/www/html/*.html
#/var/www/html/*.jpg
#/var/www/html/.htaccess
#/var/www/html/_styles/*.*
#/var/www/html/dashboard/*.*
#/var/www/html/ESP01/*.*
#/var/www/html/graphiques/*.*
#/var/www/html/graphiques_chart_js/*.*
#/var/www/html/graphiques_jpgraph/*.php
#/var/www/html/graphiques_jpgraph/*.png
#/var/www/html/M?/*.*
#/var/www/html/M??/*.*
#/var/www/html/M???/*.*
#/var/www/html/rescue/*.*
#/var/www/html/scripts_PHP/*.*
#/var/www/html/scripts_shell_python/*.*
#/var/www/html/set_time/*.*
#/var/www/html/SR201/*.*
#/var/www/html/tests/*.* -x
#/home/scripts_python/__pycache__/\*
#/home/scripts_python_SPL/__pycache__/\*
#/home/scripts_python_SHT85/__pycache__/\*

zip -r home/firmware/AQCM05_firmware.zip /usr/share/fonts/truetype/*.ttf /etc/apache2/apache2.conf /etc/php/8.1/apache2/php.ini /etc/ssh/sshd_config /etc/rc.local /var/spool/cron/crontabs/root /home/boot_restore/AQCM05_boot_defaults.ini /home/boot_restore/AQCM05_defaults.ini /home/boot_restore/AQCM05_boot_db.sql /home/boot_restore/AQCM05_boot_factory.zip /home/scripts_powerdown /home/scripts_python /home/scripts_python_SPL /home/scripts_python_tests_capteurs /home/scripts_python_SHT85 /home/scripts_shell /home/scripts_shell_SPL /etc/systemd/system/AQCM05* /etc/systemd/system/autoreg* /etc/systemd/system/SGP40* /etc/systemd/system/SGP41* /etc/systemd/system/SPL* /etc/systemd/system/UDP* /etc/systemd/system/update_remote_live* /etc/systemd/system/scan_wifi_networks* /var/www/html/*.php /var/www/html/*.html /var/www/html/*.jpg /var/www/html/.htaccess /var/www/html/_styles/*.* /var/www/html/dashboard/*.* /var/www/html/ESP01/*.* /var/www/html/graphiques/*.* /var/www/html/graphiques_chart_js/*.* /var/www/html/graphiques_jpgraph/*.php /var/www/html/graphiques_jpgraph/*.png /var/www/html/M?/*.* /var/www/html/M??/*.* /var/www/html/M???/*.* /var/www/html/rescue/*.* /var/www/html/scripts_PHP/*.* /var/www/html/scripts_shell_python/*.* /var/www/html/set_time/*.* /var/www/html/SR201/*.* /var/www/html/tests/*.* -x /home/scripts_python/__pycache__/\* /home/scripts_python_SPL/__pycache__/\* /home/scripts_python_SHT85/__pycache__/\*
