diff options
author | Kim <kim.sidney@gmail.com> | 2019-04-15 22:56:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-15 22:56:19 +0200 |
commit | b5614771042824099bd77c03cdabc130d3f4bfb1 (patch) | |
tree | 84508c5bcbad03558ee8324f18b4ca8a9ed17f7b | |
parent | 7943281e6280a04ced77b8fa6b628e2678196ea3 (diff) | |
parent | 613da90a7d82f052d2425c4dc7656a358c1146ef (diff) | |
download | vyos-documentation-b5614771042824099bd77c03cdabc130d3f4bfb1.tar.gz vyos-documentation-b5614771042824099bd77c03cdabc130d3f4bfb1.zip |
Merge pull request #35 from rebortg/improve/commandscripting
add postconfig
-rw-r--r-- | docs/commandscripting.rst | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/docs/commandscripting.rst b/docs/commandscripting.rst index cfdbae44..15977b30 100644 --- a/docs/commandscripting.rst +++ b/docs/commandscripting.rst @@ -104,4 +104,23 @@ To make sure that a script is not accidentally called without the ``vyattacfg`` if [ "$(id -g -n)" != 'vyattacfg' ] ; then exec sg vyattacfg -c "/bin/vbash $(readlink -f $0) $@" - fi
\ No newline at end of file + fi + +Postconfig on boot +------------------ + +The ``/config/scripts/vyos-postconfig-bootup.script`` script is called on boot after the VyOS configuration is fully applied. + +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:: sh + + #!/bin/sh + # This script is executed at boot time after VyOS configuration is fully 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 script should be the last option. Always try to find solutions based on CLI commands first.
\ No newline at end of file |