Merge pull request #409 from Googulator/fix-premature-shutdown

Fix panic due to after.sh prematurely quitting on shutdown
This commit is contained in:
fosslinux 2024-01-12 20:41:08 +00:00 committed by GitHub
commit 1ddc0bc2e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -21,4 +21,5 @@ if [ "${CHROOT}" = False ]; then
echo u > /proc/sysrq-trigger
mount -o remount,ro /
echo o > /proc/sysrq-trigger # power off
while true; do sleep 1; done
fi