Fix spelling of sysrq-trigger in after.sh

This commit is contained in:
Gábor Stefanik 2024-01-08 12:43:31 +01:00
parent 2a095a3301
commit 82062143a4
1 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@ if [ "${CHROOT}" = False ]; then
swapoff -a &> /dev/null || true
sync
# sysrq to avoid device busy; then mount to wait for it to finish
echo u > /proc/sysrq_trigger
echo u > /proc/sysrq-trigger
mount -o remount,ro /
echo o > /proc/sysrq_trigger # power off
echo o > /proc/sysrq-trigger # power off
fi