summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-02-24 23:02:32 +0100
committerChristian Poessinger <christian@poessinger.com>2019-02-25 18:22:41 +0100
commit2e87e0c759e99487a85e7e5b1495f832da7ba29c (patch)
tree6bafdb4306f7225be6adfa60a703229fdc9dda56
parent61c1657d3e207071b7c0c5e7c4ef4a466d8f81b4 (diff)
downloadvyos-1x-2e87e0c759e99487a85e7e5b1495f832da7ba29c.tar.gz
vyos-1x-2e87e0c759e99487a85e7e5b1495f832da7ba29c.zip
[tftp] T1261: reorder DAEMON_ARGS
(cherry picked from commit 3a1e484c69c883af03f355f0349ef218212207e1)
-rwxr-xr-xsrc/conf_mode/tftp_server.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/tftp_server.py b/src/conf_mode/tftp_server.py
index 5f119be3a..e414ba619 100755
--- a/src/conf_mode/tftp_server.py
+++ b/src/conf_mode/tftp_server.py
@@ -34,7 +34,7 @@ config_file = r'/etc/default/tftpd'
# Please be careful if you edit the template.
config_tmpl = """
### Autogenerated by tftp_server.py ###
-DAEMON_ARGS="--listen --user tftp --address {% for a in listen-%}{{ a }}{% endfor %} --secure{% if allow_upload %} --create --umask 000{% endif %} {{ directory }}"
+DAEMON_ARGS="--listen --user tftp --address {% for a in listen-%}{{ a }}{% endfor %}{% if allow_upload %} --create --umask 000{% endif %} --secure {{ directory }}"
"""