summaryrefslogtreecommitdiff
path: root/src/conf_mode/tftp_server.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-02-24 23:02:32 +0100
committerChristian Poessinger <christian@poessinger.com>2019-02-24 23:02:32 +0100
commit3a1e484c69c883af03f355f0349ef218212207e1 (patch)
tree8ee8e5b58aa824564a5bb3bb38427de7205cadf3 /src/conf_mode/tftp_server.py
parentca1b46fcf6495e442c7f7a6e26620099296fdd62 (diff)
downloadvyos-1x-3a1e484c69c883af03f355f0349ef218212207e1.tar.gz
vyos-1x-3a1e484c69c883af03f355f0349ef218212207e1.zip
[tftp] T1261: reorder DAEMON_ARGS
Diffstat (limited to 'src/conf_mode/tftp_server.py')
-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 }}"
"""