logo

live-bootstrap

Mirror of <https://github.com/fosslinux/live-bootstrap>
commit: 959ea697423a753118fdb185f904007a32ff910c
parent 9ec45654cf1c621815522c7b7fc9805eb5cd0558
Author: Andrius Štikonas <andrius@stikonas.eu>
Date:   Tue,  9 Jan 2024 22:45:54 +0000

Merge pull request #398 from Googulator/after-fix

Fix spelling of sysrq-trigger in after.sh

Diffstat:

Msteps/improve/after.sh4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/steps/improve/after.sh b/steps/improve/after.sh @@ -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