Ajouter cookcli/rootfs/etc/cont-init.d/99-diagnostic.sh
This commit is contained in:
parent
77c7db80ee
commit
b7dabf1af1
16
cookcli/rootfs/etc/cont-init.d/99-diagnostic.sh
Normal file
16
cookcli/rootfs/etc/cont-init.d/99-diagnostic.sh
Normal file
|
|
@ -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 ==="
|
||||
Loading…
Reference in a new issue