Merge pull request #398 from Googulator/after-fix
Fix spelling of sysrq-trigger in after.sh
This commit is contained in:
commit
959ea69742
|
@ -18,7 +18,7 @@ if [ "${CHROOT}" = False ]; then
|
||||||
swapoff -a &> /dev/null || true
|
swapoff -a &> /dev/null || true
|
||||||
sync
|
sync
|
||||||
# sysrq to avoid device busy; then mount to wait for it to finish
|
# 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 /
|
mount -o remount,ro /
|
||||||
echo o > /proc/sysrq_trigger # power off
|
echo o > /proc/sysrq-trigger # power off
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue