diff options
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/user/defaultenv-2.rst | 2 | ||||
-rw-r--r-- | Documentation/user/reboot-mode.rst | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/Documentation/user/defaultenv-2.rst b/Documentation/user/defaultenv-2.rst index bf738084b2..a01a70fa93 100644 --- a/Documentation/user/defaultenv-2.rst +++ b/Documentation/user/defaultenv-2.rst @@ -149,6 +149,6 @@ there will be a file ``eth0`` with a content like this: ----------- This contains the files to be sourced when barebox detects that the OS -had requested a specific reboot mode (via e.g. ``reboot bootloader`` +had requested a specific :ref:`reboot_mode` (via e.g. ``reboot bootloader`` under Linux). After the ``/env/init`` scripts were executed, barebox will ``source /env/bmode/${global.system.reboot_mode.prev}`` if available. diff --git a/Documentation/user/reboot-mode.rst b/Documentation/user/reboot-mode.rst index 8717e39342..507d6feb01 100644 --- a/Documentation/user/reboot-mode.rst +++ b/Documentation/user/reboot-mode.rst @@ -44,7 +44,9 @@ the device. By convention, this should end with ``.reboot_mode``, e.g.:: Reboot mode providers have priorities. The provider with the highest priority has its parameters aliased as ``$global.system.reboot_mode.prev`` -and ``$global.system.reboot_mode.next``. +and ``$global.system.reboot_mode.next``. After executing the init scripts, +barebox startup will ``source /env/bmode/${global.system.reboot_mode.prev}`` +if available. Reset ===== |