mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-23 11:36:32 +01:00
Merge branch 'after' into bare-metal-full
This commit is contained in:
commit
e8a24f37ba
1 changed files with 2 additions and 4 deletions
|
|
@ -14,9 +14,7 @@ if [ "${INTERACTIVE}" = True ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "${CHROOT}" = False ]; then
|
if [ "${CHROOT}" = False ]; then
|
||||||
echo s > /proc/sysrq_trigger # force sync
|
sync
|
||||||
sleep 1
|
mount -o remount,ro /
|
||||||
echo u > /proc/sysrq_trigger # remount everything R/O
|
|
||||||
sleep 1
|
|
||||||
echo o > /proc/sysrq_trigger # power off
|
echo o > /proc/sysrq_trigger # power off
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue