Files
system_update/templates/apt/reboot.sh.tpl
T
2026-06-04 21:04:51 +02:00

7 lines
192 B
Smarty

#!/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é"