Merge pull request #398 from Googulator/after-fix

Fix spelling of sysrq-trigger in after.sh
This commit is contained in:
Andrius Štikonas 2024-01-09 22:45:54 +00:00 committed by GitHub
commit 959ea69742
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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