summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Göhler <github@ghlr.de>2021-06-23 20:55:40 +0200
committerGitHub <noreply@github.com>2021-06-23 20:55:40 +0200
commit4501b59081039ba8ca947fab93f5efe266a3eb69 (patch)
tree30808ec990a5272bb07463748b53170e027128ae
parent248ef1c6635ddb1af4834811b40f0c56744e8e09 (diff)
parent719a6de07cf509871b607e35fa1e3f83bec54f34 (diff)
downloadvyos-documentation-4501b59081039ba8ca947fab93f5efe266a3eb69.tar.gz
vyos-documentation-4501b59081039ba8ca947fab93f5efe266a3eb69.zip
Merge pull request #554 from fett0/automation-doc-scripts
Automation doc scripts
-rw-r--r--docs/automation/command-scripting.rst19
1 files changed, 18 insertions, 1 deletions
diff --git a/docs/automation/command-scripting.rst b/docs/automation/command-scripting.rst
index cf6c1f7b..b8cf0d9e 100644
--- a/docs/automation/command-scripting.rst
+++ b/docs/automation/command-scripting.rst
@@ -142,6 +142,23 @@ the post-hook script is "show interfaces".
eth3 - u/u
lo 203.0.113.5/24 u/u
+Preconfig on boot
+-----------------
+
+The ``/config/scripts/vyos-preconfig-bootup.script`` script is called on boot
+before the VyOS configuration during boot process.
+
+Any modifications done to work around unfixed bugs and implement enhancements
+which are not complete in the VyOS system can be placed here.
+
+The default file looks like this:
+
+.. code-block:: none
+
+ #!/bin/sh
+ # This script is executed at boot time before VyOS configuration is applied.
+ # Any modifications required to work around unfixed bugs or use
+ # services not available through the VyOS CLI system can be placed here.
Postconfig on boot
@@ -162,6 +179,6 @@ The default file looks like this:
# applied. Any modifications required to work around unfixed bugs or use
# services not available through the VyOS CLI system can be placed here.
-.. hint:: For configuration/upgrade management issues, modification of this
+.. hint:: For configuration/upgrade management issues, modification of these
script should be the last option. Always try to find solutions based on CLI
commands first.