summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorRobert Göhler <github@ghlr.de>2023-11-16 21:43:22 +0100
committerGitHub <noreply@github.com>2023-11-16 21:43:22 +0100
commit47b3c5578528a09df987fe419d811eca14864061 (patch)
treeb1f03ee1e0cc16c2833b2b02bf6d1ec9103d8922 /docs
parentdea607f0fdb99003258bbaf3f8025a4e5262d27b (diff)
parent95dac5696e2a57139616e376bbe65a4e527bd9f5 (diff)
downloadvyos-documentation-47b3c5578528a09df987fe419d811eca14864061.tar.gz
vyos-documentation-47b3c5578528a09df987fe419d811eca14864061.zip
Merge pull request #1152 from glaubway/update-command-scripting
Update script ex with the correct "source" syntax
Diffstat (limited to 'docs')
-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