#!/bin/bash # ce script peut également être exécuté comme ceci: # ssh -t access@na root@remote bash < $SCRIPT # echo "###### checking /bin/nice ######" if [ ! -x /bin/nice ]; then echo "ERREUR : nice absent. Fin de l'installation !" exit 1 fi echo "###### Modprobe softdog #######" if ! modprobe softdog soft_margin=30 nowayout=1; then echo "ERREUR de chargement de softdog. Fin de l'installation !" exit 1 fi echo "###### remontage R/W #######" remountw echo "###### extraction sbin/wdd #######" # this block was generated with : "od -An -tx1 -vw32|tr -d ' '" (sed -e 's/../x\0/g' | while read; do printf "${REPLY//x/\x}"; done | tar -C / -zxUpvf -) <