summaryrefslogtreecommitdiff
path: root/data/templates/login/autologout.j2
diff options
context:
space:
mode:
Diffstat (limited to 'data/templates/login/autologout.j2')
-rw-r--r--data/templates/login/autologout.j25
1 files changed, 5 insertions, 0 deletions
diff --git a/data/templates/login/autologout.j2 b/data/templates/login/autologout.j2
new file mode 100644
index 0000000..dc94eec
--- /dev/null
+++ b/data/templates/login/autologout.j2
@@ -0,0 +1,5 @@
+{% if timeout is vyos_defined %}
+TMOUT={{ timeout }}
+readonly TMOUT
+export TMOUT
+{% endif %}