mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-23 03:26:31 +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
|
||||
|
||||
if [ "${CHROOT}" = False ]; then
|
||||
echo s > /proc/sysrq_trigger # force sync
|
||||
sleep 1
|
||||
echo u > /proc/sysrq_trigger # remount everything R/O
|
||||
sleep 1
|
||||
sync
|
||||
mount -o remount,ro /
|
||||
echo o > /proc/sysrq_trigger # power off
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue