From a7b27d5ca0535a22d40abc213c763b6d6b570ede Mon Sep 17 00:00:00 2001 From: LiudmylaNad Date: Mon, 16 Mar 2026 14:11:02 +0100 Subject: DOC: Add information about execute permissions. (#1796) --- docs/automation/command-scripting.rst | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'docs/automation/command-scripting.rst') diff --git a/docs/automation/command-scripting.rst b/docs/automation/command-scripting.rst index cc67132c..0e60e6e1 100644 --- a/docs/automation/command-scripting.rst +++ b/docs/automation/command-scripting.rst @@ -17,6 +17,19 @@ To include VyOS specific functions and aliases you need to ``source source /opt/vyatta/etc/functions/script-template exit +Script execute permissions +-------------------------- + +Simply placing script files in ``/config/scripts/`` does not mean the system +can execute them. + +To make your scripts executable, grant them **execute permissions**. Use the +following command: + +.. code-block:: none + + chmod +x /config/scripts/script-name.sh + Run configuration commands -------------------------- -- cgit v1.2.3