summaryrefslogtreecommitdiff
path: root/docs/automation/command-scripting.rst
diff options
context:
space:
mode:
authorglaubway <me@lvfrfn.in.ua>2023-11-15 21:55:45 +0000
committerglaubway <me@lvfrfn.in.ua>2023-11-15 21:55:45 +0000
commit95dac5696e2a57139616e376bbe65a4e527bd9f5 (patch)
tree08ed41bb2dfa6bebba3750c3995d842d29c8260d /docs/automation/command-scripting.rst
parent9e9f2755a87f61caa17b12cff669af73a5863dac (diff)
downloadvyos-documentation-95dac5696e2a57139616e376bbe65a4e527bd9f5.tar.gz
vyos-documentation-95dac5696e2a57139616e376bbe65a4e527bd9f5.zip
Update script ex with the correct "source" syntax
Diffstat (limited to 'docs/automation/command-scripting.rst')
-rw-r--r--docs/automation/command-scripting.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/automation/command-scripting.rst b/docs/automation/command-scripting.rst
index 64564e5a..c8a72a36 100644
--- a/docs/automation/command-scripting.rst
+++ b/docs/automation/command-scripting.rst
@@ -94,7 +94,7 @@ Here is a simple example:
#!/bin/vbash
source /opt/vyatta/etc/functions/script-template
configure
- source < /config/scripts/setfirewallgroup.py
+ source <(/config/scripts/setfirewallgroup.py)
commit