Corrections firstboot

This commit is contained in:
Navas 2024-10-08 12:59:16 +02:00
parent a96ccfc8b1
commit 4035b0026c
2 changed files with 2 additions and 2 deletions

View file

@ -1,5 +1,5 @@
[Unit] [Unit]
Description=Execution de libreticmenu --runCompliance au premier démarrage Description=Execution de libreticmenu-firstboot.sh au premier démarrage
After=network.target After=network.target
[Service] [Service]

View file

@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
set -eo pipefail set -eo pipefail
logger -t libreticmenu "Exécution de libreticmenu.sh --update --runCompliance" logger -t libreticmenu "Exécution de libreticmenu-firstboot.sh"
until host git.libretic.fr; do sleep 5; done until host git.libretic.fr; do sleep 5; done
/opt/libreticmenu/libreticmenu.sh --update --conformite \ /opt/libreticmenu/libreticmenu.sh --update --conformite \
&& systemctl disable libreticmenu-firstboot.service && systemctl disable libreticmenu-firstboot.service