diff --git a/cookcli/rootfs/etc/cont-init.d/99-diagnostic.sh b/cookcli/rootfs/etc/cont-init.d/99-diagnostic.sh new file mode 100644 index 0000000..eadb099 --- /dev/null +++ b/cookcli/rootfs/etc/cont-init.d/99-diagnostic.sh @@ -0,0 +1,16 @@ +#!/usr/bin/with-contenv bashio +set -e + +bashio::log.info "=== Diagnostic de l'architecture ===" + +# Afficher l'architecture +bashio::log.info "Architecture système: $(uname -m)" +bashio::log.info "Architecture détaillée: $(uname -a)" + +# Vérifier le binaire CookCLI +if [ -f /usr/local/bin/cook ]; then + bashio::log.info "Type de fichier CookCLI: $(file /usr/local/bin/cook)" + bashio::log.info "Permissions: $(ls -la /usr/local/bin/cook)" +fi + +bashio::log.info "=== Fin du diagnostic ===" \ No newline at end of file