mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-16 00:05:24 +01:00
Merge pull request #409 from Googulator/fix-premature-shutdown
Fix panic due to after.sh prematurely quitting on shutdown
This commit is contained in:
commit
1ddc0bc2e1
1 changed files with 1 additions and 0 deletions
|
|
@ -21,4 +21,5 @@ if [ "${CHROOT}" = False ]; then
|
||||||
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
|
||||||
|
while true; do sleep 1; done
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue