#!/bin/sh export LC_ALL=C echo "===SU:REBOOT_NOW===" # Reboot différé pour laisser le canal SSH se fermer proprement. nohup sh -c 'sleep 2; reboot' >/dev/null 2>&1 & echo "reboot planifié"