#!/bin/sh ulimit -s 65536 if ! apt-get update >/dev/null 2>/dev/null; then printf "La mise à jour de la liste des paquets à échoué.\n" fi if ! which envsubst 2>/dev/null >/dev/null; then printf "Le programme \`envsubst\` est nécessaire. Installer \`gettext-base\`.\n" exit 1 fi if ! which base64 2>/dev/null >/dev/null; then printf "Le programme \`base64\` est nécessaire. Installer \`coreutils\`.\n" exit 1 fi if test -n "$SMART_DEVICES" && ! which smartctl 2>/dev/null >/dev/null; then printf "Le programme \`smartctl\` est nécessaire. Installer \`smartmontools\`.\n" exit 1 fi